Skip to content

Commit bcc6b2f

Browse files
committed
fix: fetch the origin sha created in the step beforehand
1 parent fc10548 commit bcc6b2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141

4242
- name: Create a branch for tagged release
4343
run:
44+
git fetch origin "$SHA"
4445
git checkout -b "release/$TAG" "$SHA"
4546
git push origin "release/$TAG"
4647
env:

0 commit comments

Comments
 (0)