Skip to content

Commit 982dc8f

Browse files
committed
docs: Fix zola download URLs
1 parent 6e8f7ba commit 982dc8f

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/$ZOLA_VERSION/zola-$ZOLA_VERSION-aarch64-unknown-linux-gnu.tar.gz"
9+
ZOLA_URL="https://github.com/getzola/zola/releases/download/v$ZOLA_VERSION/zola-v$ZOLA_VERSION-aarch64-unknown-linux-gnu.tar.gz"
1010
elif [ "$ARCH" = "x86_64" ]; then
11-
ZOLA_URL="https://github.com/getzola/zola/releases/download/$ZOLA_VERSION/zola-$ZOLA_VERSION-x86_64-unknown-linux-musl.tar.gz"
11+
ZOLA_URL="https://github.com/getzola/zola/releases/download/v$ZOLA_VERSION/zola-v$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/$ZOLA_VERSION/zola-$ZOLA_VERSION-aarch64-unknown-linux-gnu.tar.gz"
27+
ZOLA_URL="https://github.com/getzola/zola/releases/download/v$ZOLA_VERSION/zola-v$ZOLA_VERSION-aarch64-unknown-linux-gnu.tar.gz"
2828
elif [ "$ARCH" = "x86_64" ]; then
29-
ZOLA_URL="https://github.com/getzola/zola/releases/download/$ZOLA_VERSION/zola-$ZOLA_VERSION-x86_64-unknown-linux-musl.tar.gz"
29+
ZOLA_URL="https://github.com/getzola/zola/releases/download/v$ZOLA_VERSION/zola-v$ZOLA_VERSION-x86_64-unknown-linux-musl.tar.gz"
3030
else
3131
echo "Unsupported architecture: $ARCH"
3232
exit 1

0 commit comments

Comments
 (0)