Skip to content

Commit

Permalink
fix: rerun version checking snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanGalloway committed Feb 26, 2024
1 parent 1517e39 commit 6c143b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
id: chartVersion
run: |
if [[ -z "${{ steps.semantic.outputs.new_release_version }}" ]]; then
if [[ -z "$(git tag --points-at HEAD -l 'helm*')" ]]; then
if [[ -z "$(git tag --points-at HEAD -l 'chart*')" ]]; then
echo "No chart version available"
exit 1
else
echo "chartVersion=$(git tag --points-at HEAD -l 'helm*' | sed 's/chart-//' )" >> $GITHUB_OUTPUT
echo "chartVersion=$(git tag --points-at HEAD -l 'chart*' | sed 's/chart-//' )" >> $GITHUB_OUTPUT
fi
else
echo "chartVersion=${{ steps.semantic.outputs.new_release_version }}" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions chart/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"name": "chart"
}

0 comments on commit 6c143b8

Please sign in to comment.