From f6362f85e300ef85b740f60125c27516cd2b64f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=81oboda?= Date: Sun, 14 Jul 2024 12:21:30 +0200 Subject: [PATCH] ci: temporary continue on error --- .github/workflows/build-and-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 29ba3c7..efef357 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -31,9 +31,10 @@ jobs: run: echo "TAG=$(cat Chart.yaml | awk '/^version:/ {print $2;exit}')" >> $GITHUB_ENV - name: Verify if the tag exists + continue-on-error: true run: | tags="$(git tag -l)" - if "$tags" | grep -i -q "${{ env.TAG }}"; then + if echo "$tags" | grep -i -q "${{ env.TAG }}"; then echo "This tag ("${{ env.TAG }}") already exists!" exit 1 fi @@ -44,6 +45,7 @@ jobs: commit: main tag: "${{ env.TAG }}" generateReleaseNotes: true + skipIfReleaseExists - name: Release Helm Chart uses: appany/helm-oci-chart-releaser@v0.4.2