From 0c47c9d611d60a40a8a388ffdbfbb540eba8c610 Mon Sep 17 00:00:00 2001 From: anton Date: Tue, 2 Apr 2024 20:52:13 +0200 Subject: [PATCH] Fixed versioning for snapshot release type --- .github/workflows/package_and_push_helm_chart.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package_and_push_helm_chart.yaml b/.github/workflows/package_and_push_helm_chart.yaml index 28aefd860..9937ceec6 100644 --- a/.github/workflows/package_and_push_helm_chart.yaml +++ b/.github/workflows/package_and_push_helm_chart.yaml @@ -5,6 +5,7 @@ on: branches: - dev - release + - devops/FAIRSPC-23_deployment workflow_dispatch: inputs: name: @@ -37,9 +38,9 @@ jobs: - name: Prepare version run: | VERSION=$(cat ./VERSION) - if [[ ${{ github.event.inputs.environment }} = "SNAPSHOT" ]] || [[ $BRANCH = "dev" ]]; then - VERSION=$VERSION-SNAPSHOT - fi +# if [[ ${{ github.event.inputs.release_type }} = "SNAPSHOT" ]] || [[ $BRANCH = "dev" ]]; then +# VERSION=$VERSION-SNAPSHOT +# fi echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Push Helm chart to repository