Skip to content

Commit f7440e3

Browse files
authored
Fix the staging reset in release workflow
1 parent f60e914 commit f7440e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/create_release_tag_and_pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
distribution: 'temurin'
2222
cache: 'maven'
2323

24-
- name: Reset staging/main Staging
24+
- name: Reset staging/main
2525
id: staging
2626
run: |
27-
git checkout -Bt staging/main
28-
git push -f
27+
git checkout -B staging/main
28+
git push --set-upstream -f origin staging/main
2929
3030
- name: Set Release Version
3131
id: release

0 commit comments

Comments
 (0)