Skip to content

Commit

Permalink
ci: temporary continue on error
Browse files Browse the repository at this point in the history
  • Loading branch information
loboda4450 committed Jul 14, 2024
1 parent e876b2a commit f6362f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -44,6 +45,7 @@ jobs:
commit: main
tag: "${{ env.TAG }}"
generateReleaseNotes: true
skipIfReleaseExists

- name: Release Helm Chart
uses: appany/[email protected]
Expand Down

0 comments on commit f6362f8

Please sign in to comment.