We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc4ce3b commit c99146aCopy full SHA for c99146a
1 file changed
.github/workflows/microsoft-codeql-pack-publish.yml
@@ -17,6 +17,8 @@ jobs:
17
- name: Set CodeQL Version
18
id: set_codeql_version
19
run: |
20
+ git fetch
21
+ git fetch --tags
22
CURRENT_COMMIT=$(git rev-list -1 HEAD)
23
CURRENT_TAG=$(git describe --tags --abbrev=0 --match 'codeql-cli/v*' $CURRENT_COMMIT)
24
CURRENT_VERSION="${CURRENT_TAG#codeql-cli/}"
0 commit comments