Skip to content

Commit 1f4cd3e

Browse files
authored
Merge pull request #123 from radiovisual/fix-publish-yml
fix: malformed syntax in shell
2 parents 9e818a0 + 251df2f commit 1f4cd3e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2424
- name: Commit and push version bump
2525
run: |
26+
git checkout -b version-bump/${{ env.RELEASE_VERSION }}
2627
git add package.json
2728
git commit -m "chore: bump version to ${{ env.RELEASE_VERSION }}"
28-
git push origin HEAD:${{ env.GITHUB_REF#refs/tags/ }}
29+
git push origin version-bump/${{ env.RELEASE_VERSION }}
2930
env:
3031
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3132

0 commit comments

Comments
 (0)