Skip to content

Commit 824aa09

Browse files
authored
fix(release): another spot tag_name wasn't wired through (#1107)
1 parent 1cf3985 commit 824aa09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release_prep.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
set -o errexit -o nounset -o pipefail
44

5-
# Set by GH actions, see
6-
# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
7-
TAG=${GITHUB_REF_NAME}
5+
# Argument provided by reusable workflow caller, see
6+
# https://github.com/bazel-contrib/.github/blob/d197a6427c5435ac22e56e33340dff912bc9334e/.github/workflows/release_ruleset.yaml#L72
7+
TAG=$1
88
# The prefix is chosen to match what GitHub generates for source archives
99
# This guarantees that users can easily switch from a released artifact to a source archive
1010
# with minimal differences in their code (e.g. strip_prefix remains the same)

0 commit comments

Comments
 (0)