From 970eeb50cb394d6597d36ed4db8c476b928ecb08 Mon Sep 17 00:00:00 2001 From: Donal Hurley Date: Thu, 8 Sep 2022 14:34:01 +0100 Subject: [PATCH] Fix tagging of releases (#38) --- .github/workflows/release-branch.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index 8d0424c3a6..0d6b912264 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -130,11 +130,11 @@ jobs: chglog format -i ./scripts/changelog.yml --template repo > ./docs/CHANGELOG.md git commit -am "Updating changelog" git push - - if [[ -z "${PUBLISH_PACKAGE}" ]] && ${PUBLISH_PACKAGE}=true; then - git push origin "v${{env.VERSION}}" - git push origin "sdk/v${{env.VERSION}}" - fi + - name: Push Tags + if: ${{ inputs.publishPackages == 'true' }} + run: | + git push origin "v${{env.VERSION}}" + git push origin "sdk/v${{env.VERSION}}" - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Build Docker Image