File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ publish = "public"
66command = """
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"
2424command = """
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
You can’t perform that action at this time.
0 commit comments