From 2adf066d1fdadafa79049a75dd9bebe1fb6c9093 Mon Sep 17 00:00:00 2001 From: Jackie Weng Date: Thu, 21 Nov 2024 10:23:11 +1300 Subject: [PATCH] fix: export command cause error to be swallowed --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 4080496..d14367f 100644 --- a/action.yml +++ b/action.yml @@ -57,7 +57,7 @@ runs: run: | set -eo pipefail - export PREVIOUS_VERSION=$(git-version \ + PREVIOUS_VERSION=$(git-version \ --previous-version \ --release-branch "${{ inputs.release-branch }}" \ --dev-branch "${{ inputs.dev-branch }}" \ @@ -72,7 +72,7 @@ runs: run: | set -eo pipefail - export VERSION=$(git-version \ + VERSION=$(git-version \ --release-branch "${{ inputs.release-branch }}" \ --dev-branch "${{ inputs.dev-branch }}" \ --minor-identifier="${{ inputs.minor-identifier }}" \