Skip to content

Commit 5f12312

Browse files
committed
Fix release text
1 parent aadf70b commit 5f12312

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release_prep.sh

Lines changed: 4 additions & 4 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 ${BAZEL_ARCHIVE} | awk '{print $1}')
13+
SHA=$(shasum -a 256 ${CMAKE_ARCHIVE} | awk '{print $1}')
1414

1515
cat << EOF
1616
## Bazel
@@ -25,7 +25,7 @@ toolchain = use_extension("@portable_cc_toolchain//:extensions.bzl", "toolchain"
2525
2626
## CMake
2727
28-
Add to your \`CMakeLists.txt\` file (before \`project()\`):
28+
Add to your \`CMakeLists.txt\` file (before \`project\`):
2929
3030
\`\`\`cmake
3131
FetchContent_Declare(
@@ -37,6 +37,6 @@ FetchContent_Declare(
3737
FetchContent_MakeAvailable(PortableCcToolchain)
3838
\`\`\`
3939
40-
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`)
40+
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\`)
4242
EOF

0 commit comments

Comments
 (0)