Skip to content

Commit

Permalink
Untrack version.txt
Browse files Browse the repository at this point in the history
Goreleaser uses the git history to make
a checksum over the binary or changelog,
create a commit during the pipeline job
execution is not a good idea.
  • Loading branch information
filhodanuvem committed Jul 8, 2021
1 parent 81d5b74 commit bde760a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
name: Set up version.txt
run: |
git describe --tags --abbrev=0 | tr -d '\n' > ./version.txt
git config --global user.email "[email protected]"
git config --global user.name "Github Actions"
git add ./version.txt
git commit -m "Upgrade version"
echo "version found:"
cat ./version.txt
-
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ gitql
.idea/
vendor
test/test_helper/
test/bats/
test/bats/
.version.txt

0 comments on commit bde760a

Please sign in to comment.