Skip to content

Commit

Permalink
Merge pull request #15 from ZEISS/chore/test-workflow5
Browse files Browse the repository at this point in the history
fix var reference
  • Loading branch information
felixZdi authored Apr 11, 2024
2 parents 0d2c3b4 + 630167a commit 0d2e628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
if [ $length != 1 ]; then echo "More than one or none label has been defined. Exiting." && exit 1;fi
version_bump_type=$(echo $relevant_labels | jq -r '.[] | .name')
version_bump_type=${version_bump#"helm-"}
version_bump_type=${version_bump_type#"helm-"}
current_version=$(sed -n -e 's/^.*version: //p' charts/ca-injector/Chart.yaml)
new_version=$(python -m semver bump -i $version_bump_type $current_version)
Expand All @@ -52,7 +52,7 @@ jobs:
length=$(echo $relevant_labels | jq 'length')
if [ $length != 1 ]; then echo "More than one or none label has been defined. Exiting." && exit 1;fi
version_bump_type=$(echo $relevant_labels | jq -r '.[] | .name')
version_bump_type=${version_bump#"app-"}
version_bump_type=${version_bump_type#"app-"}
current_version=$(sed -n -e 's/^.*appVersion: //p' charts/ca-injector/Chart.yaml)
new_version=$(python -m semver bump -i $version_bump_type $current_version)
Expand Down

0 comments on commit 0d2e628

Please sign in to comment.