Skip to content

Commit 38bcc15

Browse files
authored
changed create release branch step (#58)
1 parent 1c5c19d commit 38bcc15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-and-publish-new-version.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030

3131
- name: Create release branch
3232
run: |
33-
git branch release/${{ github.event.inputs.tag }}
33+
git checkout -b release/${{ github.event.inputs.tag }}
34+
git fetch
35+
git branch --set-upstream-to=origin/main release/${{ github.event.inputs.tag }}
3436
3537
- name: Update version number
3638
run: |

0 commit comments

Comments
 (0)