Skip to content

Commit 999fa48

Browse files
authored
Fixing release workflow (#1736)
1 parent 615c716 commit 999fa48

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
bazel_test_command: "bazel test //src/... //test/... //third_party/..."
3333
prerelease: false
3434
release_files: rules_scala-*.tar.gz
35-
release_prep_command: .github/workflows/workspace_snippet.sh
3635
tag_name: ${{ inputs.tag_name || github.ref_name }}
3736

3837
publish-to-bcr:

.github/workflows/workspace_snippet.sh renamed to .github/workflows/release_prep.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
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+
# Single tag arg is passed by https://github.com/bazel-contrib/.github/blob/master/.github/workflows/release_ruleset.yaml
6+
TAG="$1"
87
VERSION="${TAG:1}"
98
PREFIX="rules_scala-${VERSION}"
109
ARCHIVE="rules_scala-$TAG.tar.gz"

0 commit comments

Comments
 (0)