From 575492bbdcd5c93d1349250e3a1847a85d41419c Mon Sep 17 00:00:00 2001 From: cycjimmy Date: Mon, 21 Oct 2019 10:12:57 +0800 Subject: [PATCH] fix(release): bad substitution --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf01200..9d66fde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,7 @@ jobs: - name: Push updates to branch for major version if: steps.semantic.outputs.new-release-published == 'true' - run: "git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/${steps.semantic.outputs.new-release-major-version}" + run: "git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v${{steps.semantic.outputs.new-release-major-version}}" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}