Skip to content

Commit

Permalink
build: push release branch before creating a PR (#1260)
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader authored Oct 10, 2023
1 parent 1a351a5 commit 472040d
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 @@ -39,11 +39,12 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Create branch and set release version
- name: Create branch
id: create-branch
run: |
MINOR_VERSION=${RELEASE_VERSION%.*}
git checkout -b release/${MINOR_VERSION}
git push --set-upstream origin release/${MINOR_VERSION}
echo "branchName=release/${RELEASE_VERSION%.*}" >> $GITHUB_OUTPUT
env:
RELEASE_VERSION: ${{ github.event.inputs.version }}
Expand Down

0 comments on commit 472040d

Please sign in to comment.