From 0c639d83a0f0ced827f77d6df6bface28bb75fe4 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Wed, 3 Apr 2024 10:46:48 +0200 Subject: [PATCH] chore(release): add version-check to create and push git tag step --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0acf708..c4df5aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,6 +76,7 @@ jobs: dockerfile: docker/Dockerfile-dim-processes-worker outputs: app-version: ${{ steps.app-version.outputs.current }} + version-check: ${{ steps.version-check.outputs.exists }} steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -159,3 +160,4 @@ jobs: run: | git tag v${{ needs.release-images.outputs.app-version }} git push origin v${{ needs.release-images.outputs.app-version }} + if: needs.release-images.outputs.version-check == 'false'