Skip to content

Commit fcb8efa

Browse files
committed
chore: fixup release notes prep
1 parent 514773f commit fcb8efa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release_prep.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ TAG=${GITHUB_REF_NAME}
88
# The prefix is chosen to match what GitHub generates for source archives
99
PREFIX="rules_nodejs-${TAG:1}"
1010
ARCHIVE="rules_nodejs-$TAG.tar.gz"
11-
git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE
12-
SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}')
11+
git archive --format=tar --prefix="${PREFIX}/" "${TAG}" | gzip > "$ARCHIVE"
12+
SHA=$(shasum -a 256 "$ARCHIVE" | awk '{print $1}')
1313

1414
cat << EOF
1515
## Using Bzlmod with Bazel 6
@@ -23,7 +23,7 @@ bazel_dep(name = "rules_nodejs", version = "${TAG:1}")
2323
2424
## Using WORKSPACE
2525
26-
Paste this snippet into your `WORKSPACE.bazel` file:
26+
Paste this snippet into your \`WORKSPACE.bazel\` file:
2727
2828
\`\`\`starlark
2929
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
@@ -37,4 +37,4 @@ EOF
3737

3838
# TODO: fill in more snippet if/when we have an e2e that illustrates what is needed
3939
# awk 'f;/--SNIP--/{f=1}' e2e/smoke/WORKSPACE.bazel
40-
echo "\`\`\`"
40+
echo "\`\`\`"

0 commit comments

Comments
 (0)