From 8bc4996d5fcf1e6d8e2169d4173d4cdf1132e6f0 Mon Sep 17 00:00:00 2001 From: jamie zieziula Date: Fri, 11 Oct 2024 15:51:04 -0400 Subject: [PATCH] exit --- .github/workflows/helm-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml index 8df72ad..50ab4c8 100644 --- a/.github/workflows/helm-release.yaml +++ b/.github/workflows/helm-release.yaml @@ -34,8 +34,8 @@ jobs: - name: Get the version tags id: get_version run: | - # Enable pipefail so git command failures do not result in null versions downstream - set -x + # Exit if any commands fail, so git command failures do not result in null versions downstream + set -e if [ "$MODE" == "main-merge" ]; then # append "-dev" to the version so that it's clear that this is a development release echo "RELEASE_VERSION=$(date +'%Y.%-m.%-d%H%M%S')-dev" >> $GITHUB_ENV