Skip to content

Commit ec9290f

Browse files
ci: release action to push on correct branch (#123)
1 parent 80eb543 commit ec9290f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
git config --global user.email "project.openubl.preview.bot@gmail.com"
3232
git config --global user.name "Project-Openubl Bot"
3333
git commit --signoff --allow-empty -a -m "🏁 Releasing version $RELEASE_VERSION"
34-
git push origin HEAD:master
34+
git push origin HEAD:${{ github.event.inputs.branch }}
3535
3636
# OSSRH
3737
- uses: actions/setup-java@v3
@@ -86,4 +86,4 @@ jobs:
8686
git config --global user.email "project.openubl.preview.bot@gmail.com"
8787
git config --global user.name "Project-Openubl Bot"
8888
git commit --signoff -a -m "⬆️ Next version $NEXT_VERSION"
89-
git push origin HEAD:master
89+
git push origin HEAD:${{ github.event.inputs.branch }}

0 commit comments

Comments
 (0)