Skip to content

Commit

Permalink
Fix snapshot versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
yannick-roeder committed Jul 8, 2024
1 parent 1ad1160 commit 1d70f36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/helm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
if ! [[ "$GITHUB_REF" =~ ^refs/tags/.* ]]; then
bump2version --allow-dirty --no-tag --no-commit patch
version="$(sed -nE 's/.*current_version = (.*)/\1/p' < .bumpversion.cfg)-SNAPSHOT"
else
version="$(sed -nE 's/.*current_version = (.*)/\1/p' < .bumpversion.cfg)"
fi
echo "version=$version" >> $GITHUB_OUTPUT
shell: bash
Expand Down

0 comments on commit 1d70f36

Please sign in to comment.