mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
minor fix
This commit is contained in:
@@ -17,6 +17,8 @@ jobs:
|
||||
- name: Set CodeQL Version
|
||||
id: set_codeql_version
|
||||
run: |
|
||||
git fetch
|
||||
git fetch --tags
|
||||
CURRENT_COMMIT=$(git rev-list -1 HEAD)
|
||||
CURRENT_TAG=$(git describe --tags --abbrev=0 --match 'codeql-cli/v*' $CURRENT_COMMIT)
|
||||
CURRENT_VERSION="${CURRENT_TAG#codeql-cli/}"
|
||||
|
||||
Reference in New Issue
Block a user