File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ set -o errexit -o nounset -o pipefail
66# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
77TAG=${GITHUB_REF_NAME}
88VERSION=${TAG: 1}
9+ # The prefix is chosen to match what GitHub generates for source archives
10+ PREFIX=" rules_zig-$VERSION "
11+ ARCHIVE=" $PREFIX .tar.gz"
12+ git archive --format=tar --prefix=${PREFIX} / ${TAG} | gzip > $ARCHIVE
913
1014cat << EOF
1115## Setup Instructions
@@ -20,7 +24,7 @@ Optionally add the following to your \`MODULE.bazel\` file to install a specific
2024
2125\`\`\` starlark
2226zig = use_extension("//zig:extensions.bzl", "zig")
23- zig.toolchain(zig_version = "0.13.0 ")
27+ zig.toolchain(zig_version = "0.14.1 ")
2428\`\`\`
2529
2630You can call \` zig.toolchain\` multiple times to install multiple Zig versions.
You can’t perform that action at this time.
0 commit comments