Skip to content

Commit

Permalink
ci(Release Chart): fix check for Chart release version
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoprow committed Jul 10, 2024
1 parent f6fe478 commit 041f856
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:
run: |
CHART_VERSION=$(grep 'version:' ./charts/bpdm/Chart.yaml | head -n1 | awk '{ print $2}')
SNAPSHOT=$(echo $CHART_VERSION | grep 'SNAPSHOT')
if test -z $SNAPSHOT; then IS_RELEASE=true; else IS_RELEASE=false fi
if [[ -z "$SNAPSHOT" ]]; then
IS_RELEASE=true; else
IS_RELEASE=false
fi
echo "isRelease=$IS_RELEASE" >> $GITHUB_OUTPUT
- name: Configure Git
Expand Down

0 comments on commit 041f856

Please sign in to comment.