14 lines
347 B
Bash
14 lines
347 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
ZIP_FILE="tplate-linux-amd64.zip"
|
|
|
|
curl -L "https://gitea.trle5.xyz/trle5/tplate/actions/runs/latest/artifacts/tplate-linux-amd64.zip" -o "$ZIP_FILE"
|
|
|
|
unzip -o "$ZIP_FILE"
|
|
|
|
chmod +x tplate.bin
|
|
|
|
# build command:
|
|
# curl -s "https://gitea.trle5.xyz/trle5/tplate/raw/branch/custom/get-tplate.sh" | sh && ./tplate.bin build
|