File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ TAG=${GITHUB_REF_NAME}
8
8
# The prefix is chosen to match what GitHub generates for source archives
9
9
PREFIX=" rules_nodejs-${TAG: 1} "
10
10
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}' )
13
13
14
14
cat << EOF
15
15
## Using Bzlmod with Bazel 6
@@ -23,7 +23,7 @@ bazel_dep(name = "rules_nodejs", version = "${TAG:1}")
23
23
24
24
## Using WORKSPACE
25
25
26
- Paste this snippet into your ` WORKSPACE.bazel` file:
26
+ Paste this snippet into your \ ` WORKSPACE.bazel\ ` file:
27
27
28
28
\`\`\` starlark
29
29
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
37
37
38
38
# TODO: fill in more snippet if/when we have an e2e that illustrates what is needed
39
39
# awk 'f;/--SNIP--/{f=1}' e2e/smoke/WORKSPACE.bazel
40
- echo " \`\`\` "
40
+ echo " \`\`\` "
You can’t perform that action at this time.
0 commit comments