Skip to content

Commit

Permalink
build: push release branch before creating a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader committed Oct 10, 2023
1 parent b620f31 commit a3bd45a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CREATE_RELEASE_BRANCH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
java-version: '17'

- name: Set snapshot version on release branch
id: set-snapshot-version
run: |
MINOR_VERSION=${RELEASE_VERSION%.*}
mvn -B versions:set -DnewVersion=${RELEASE_VERSION}-SNAPSHOT -DgenerateBackupPoms=false -f parent
Expand All @@ -45,7 +46,7 @@ jobs:
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ steps.create-branch.outputs.branchName }}
branch: ${{ steps.set-snapshot-version.outputs.branchName }}
commit-message: "ci: set next snapshot version"
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
base: main
Expand Down

0 comments on commit a3bd45a

Please sign in to comment.