From d17ee670003f071ae849fbb15b89d25c1ff12fef Mon Sep 17 00:00:00 2001 From: Claudson Oliveira Date: Thu, 8 Jul 2021 17:32:41 +0100 Subject: [PATCH] Assume version.txt as an unchanged file for git --- .github/workflows/tag.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 03dde3c..67e6bf3 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -21,6 +21,7 @@ jobs: - name: Set up version.txt run: | + git update-index --assume-unchanged version.txt git describe --tags --abbrev=0 | tr -d '\n' > ./version.txt echo "version found:" cat ./version.txt