Skip to content

Commit d17ee67

Browse files
committed
Assume version.txt as an unchanged file for git
1 parent bde760a commit d17ee67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
-
2222
name: Set up version.txt
2323
run: |
24+
git update-index --assume-unchanged version.txt
2425
git describe --tags --abbrev=0 | tr -d '\n' > ./version.txt
2526
echo "version found:"
2627
cat ./version.txt

0 commit comments

Comments
 (0)