From 251df2f399c62f2e0893b24164c67dbf5cb85339 Mon Sep 17 00:00:00 2001 From: Michael Wuergler Date: Mon, 24 Jun 2024 22:01:53 +0200 Subject: [PATCH] fix: malformed syntax in shell --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7635b5c..e75f8a7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,9 +23,10 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Commit and push version bump run: | + git checkout -b version-bump/${{ env.RELEASE_VERSION }} git add package.json git commit -m "chore: bump version to ${{ env.RELEASE_VERSION }}" - git push origin HEAD:${{ env.GITHUB_REF#refs/tags/ }} + git push origin version-bump/${{ env.RELEASE_VERSION }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}