Skip to content

Commit

Permalink
chore: fix tag name when called by workflow (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Dec 12, 2024
1 parent bd6ad53 commit d884f58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

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}
# Argument provided by reusable workflow caller, see
# https://github.com/bazel-contrib/.github/blob/d197a6427c5435ac22e56e33340dff912bc9334e/.github/workflows/release_ruleset.yaml#L72
TAG=$1
# The prefix is chosen to match what GitHub generates for source archives
PREFIX="rules_oci-${TAG:1}"
ARCHIVE="rules_oci-$TAG.tar.gz"
Expand Down

0 comments on commit d884f58

Please sign in to comment.