Skip to content

Commit e95495b

Browse files
committed
change git commands
1 parent 046dfb3 commit e95495b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,11 @@ jobs:
7272
- name: Switch to new branch
7373
run: git checkout -b release/set-version-to-${{ github.event.inputs.versionTag }}
7474

75-
- name: Set remote branch
76-
run: git push --set-upstream origin release/set-version-to-${{ github.event.inputs.versionTag }}
77-
7875
- name: Checkin commit
7976
run: git commit . -m 'Set version to ${{ github.event.inputs.versionTag }}'
8077

8178
- name: Push to Github
82-
run: git push
79+
run: git push --set-upstream origin release/set-version-to-${{ github.event.inputs.versionTag }}
8380

8481
- name: Open PR with version bump
8582
run: gh pr create --base main --title "Update version to ${{ github.event.inputs.versionTag }}" --body "Updates the project version after a release to ${{ github.event.inputs.versionTag }}"

0 commit comments

Comments
 (0)