Skip to content

Commit aadf70b

Browse files
committed
Fix bug in release script
1 parent 599a345 commit aadf70b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release_prep.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ git archive --format=tar --prefix=${PREFIX}/ ${TAG}:bazel | gzip > ${BAZEL_ARCHI
1010
CMAKE_ARCHIVE="cmake_portable_cc_toolchain-$TAG.tar.gz"
1111
git archive --format=tar --prefix=${PREFIX}/ ${TAG}:cmake/portable_cc_toolchain | gzip > ${CMAKE_ARCHIVE}
1212

13-
SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}')
13+
SHA=$(shasum -a 256 ${BAZEL_ARCHIVE} | awk '{print $1}')
1414

1515
cat << EOF
1616
## Bazel
@@ -38,5 +38,5 @@ FetchContent_MakeAvailable(PortableCcToolchain)
3838
\`\`\`
3939
4040
To enable the toolchain, set `CMAKE_TOOLCHAIN_FILE` to `portable_cc_toolchain/toolchain.cmake`.
41-
For cross-compiling set `CMAKE_TOOLCHAIN_FILE` to `portable_cc_toolchain/<target>.cmake` (e.g. `aarch64-unknown-linux-gnu.cmake`)
41+
For cross-compiling, set `CMAKE_TOOLCHAIN_FILE` to `portable_cc_toolchain/<target>.cmake` (e.g. `aarch64-unknown-linux-gnu.cmake`)
4242
EOF

0 commit comments

Comments
 (0)