We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cf3985 commit 824aa09Copy full SHA for 824aa09
.github/workflows/release_prep.sh
@@ -2,9 +2,9 @@
2
3
set -o errexit -o nounset -o pipefail
4
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}
+# Argument provided by reusable workflow caller, see
+# https://github.com/bazel-contrib/.github/blob/d197a6427c5435ac22e56e33340dff912bc9334e/.github/workflows/release_ruleset.yaml#L72
+TAG=$1
8
# The prefix is chosen to match what GitHub generates for source archives
9
# This guarantees that users can easily switch from a released artifact to a source archive
10
# with minimal differences in their code (e.g. strip_prefix remains the same)
0 commit comments