Skip to content

Commit

Permalink
Merge pull request #40 from cybozu/fix-branches
Browse files Browse the repository at this point in the history
Use temp branch for pushing to main from GitHub Actions
  • Loading branch information
sosukesuzuki authored Oct 1, 2023
2 parents 693dcd6 + 52d32c0 commit bd83d45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion es/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ git add .
git commit -m "Release $VERSION"

# print branch for debugging
git branch
git branch -a

git branch tmp
git checkout -b main origin/main
git merge tmp
git push origin main

0 comments on commit bd83d45

Please sign in to comment.