Skip to content

Commit 06515ee

Browse files
committed
e fetch remote branch because github action only checked out the tag
1 parent e11559d commit 06515ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
git config --local user.name "GitHub Action"
4242
git commit -m "e set SNAPSHOT version" -a || echo "nothing to commit"
4343
git checkout -b temp
44+
git fetch
4445
git checkout master
4546
git merge temp
4647
remote="https://${GITHUB_ACTOR}:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}.git"

0 commit comments

Comments
 (0)