Skip to content

Commit c91cf0a

Browse files
authored
Merge pull request #166 from krunalhinguu/fix-version-script
fix: ensure tags are fetched in version script
2 parents 909e7ff + cb48dea commit c91cf0a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ fi
1111

1212
# fetch tag information
1313
git fetch
14+
git fetch --tags
1415

1516
GIT_COMMIT=${GIT_COMMIT:-$(git rev-parse --short HEAD)}
1617
GIT_TAG=$(git tag -l --contains HEAD | head -n 1)

0 commit comments

Comments
 (0)