Skip to content

Commit 6e8f7ba

Browse files
committed
docs: Use correct zola version
1 parent b29c358 commit 6e8f7ba

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

netlify.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ publish = "public"
66
command = """
77
ARCH=$(uname -m)
88
if [ "$ARCH" = "aarch64" ]; then
9-
ZOLA_URL="https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-aarch64-unknown-linux-gnu.tar.gz"
9+
ZOLA_URL="https://github.com/getzola/zola/releases/download/$ZOLA_VERSION/zola-$ZOLA_VERSION-aarch64-unknown-linux-gnu.tar.gz"
1010
elif [ "$ARCH" = "x86_64" ]; then
11-
ZOLA_URL="https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-musl.tar.gz"
11+
ZOLA_URL="https://github.com/getzola/zola/releases/download/$ZOLA_VERSION/zola-$ZOLA_VERSION-x86_64-unknown-linux-musl.tar.gz"
1212
else
1313
echo "Unsupported architecture: $ARCH"
1414
exit 1
@@ -24,9 +24,9 @@ ZOLA_VERSION = "0.21.0"
2424
command = """
2525
ARCH=$(uname -m)
2626
if [ "$ARCH" = "aarch64" ]; then
27-
ZOLA_URL="https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-aarch64-unknown-linux-gnu.tar.gz"
27+
ZOLA_URL="https://github.com/getzola/zola/releases/download/$ZOLA_VERSION/zola-$ZOLA_VERSION-aarch64-unknown-linux-gnu.tar.gz"
2828
elif [ "$ARCH" = "x86_64" ]; then
29-
ZOLA_URL="https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-musl.tar.gz"
29+
ZOLA_URL="https://github.com/getzola/zola/releases/download/$ZOLA_VERSION/zola-$ZOLA_VERSION-x86_64-unknown-linux-musl.tar.gz"
3030
else
3131
echo "Unsupported architecture: $ARCH"
3232
exit 1

0 commit comments

Comments
 (0)