Skip to content

Commit c99146a

Browse files
author
Dilan Bhalla
committed
minor fix
1 parent cc4ce3b commit c99146a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/microsoft-codeql-pack-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- name: Set CodeQL Version
1818
id: set_codeql_version
1919
run: |
20+
git fetch
21+
git fetch --tags
2022
CURRENT_COMMIT=$(git rev-list -1 HEAD)
2123
CURRENT_TAG=$(git describe --tags --abbrev=0 --match 'codeql-cli/v*' $CURRENT_COMMIT)
2224
CURRENT_VERSION="${CURRENT_TAG#codeql-cli/}"

0 commit comments

Comments
 (0)