From d833a24d9c5eb3709b8239fc7e3188ff61601cd9 Mon Sep 17 00:00:00 2001 From: Jan Kadlec Date: Thu, 14 Nov 2024 14:59:18 +0100 Subject: [PATCH] fix: variables in push step JIRA: PSDK-213 risk: low --- .github/workflows/bump-version.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml index b0b4bbd72..48c2c245a 100644 --- a/.github/workflows/bump-version.yaml +++ b/.github/workflows/bump-version.yaml @@ -55,6 +55,7 @@ jobs: make release-ci VERSION=${{ steps.bump.outputs.new_version }} - name: Specify release branch + id: branch run: | if [ "${{ github.event.inputs.bump_type }}" == "patch" ]; then RELEASE_BRANCH="patch/${{ steps.bump.outputs.new_version }}" @@ -69,7 +70,7 @@ jobs: git config user.email github-actions@github.com git add -A git commit -m "Bump to ${{steps.bump.outputs.new_version}}" - git push origin ${{ steps.bump.outputs.release_branch }} + git push origin ${{ steps.branch.outputs.release_branch }} git push origin master # TODO: this part waits for docs build and publish optimization it takes too long (~15 minutes)