Skip to content

Commit

Permalink
Fixed versioning for snapshot release type
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreenwood committed Apr 2, 2024
1 parent 4794ba6 commit 1818767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/package_and_push_helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Prepare version
run: |
VERSION=$(cat ./VERSION)
if [[ ${{ github.event.inputs.environment }} = "SNAPSHOT" ]] || [[ $BRANCH = "dev" ]]; then
if [[ ${{ github.event.inputs.release_type }} = "SNAPSHOT" ]] || [[ $BRANCH = "dev" ]]; then
VERSION=$VERSION-SNAPSHOT
fi
echo "VERSION=$VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 1818767

Please sign in to comment.