From 6c024d654c23f17867b53d21b3a9de0105c7c0f0 Mon Sep 17 00:00:00 2001 From: Milan Vukov Date: Fri, 20 Dec 2024 19:04:32 +0100 Subject: [PATCH] Fix/gh release (#99) --- .github/workflows/release_prep.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index 579eb9f..f8aae73 100755 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -2,9 +2,7 @@ set -o errexit -o nounset -o pipefail -# Set by GH actions, see -# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables -TAG=${GITHUB_REF_NAME} +TAG="$1" # The prefix is chosen to match what GitHub generates for source archives # This guarantees that users can easily switch from a released artifact to a source archive # with minimal differences in their code (e.g. strip_prefix remains the same)