Files
tplate/get-tplate.sh

12 lines
346 B
Bash

#!/usr/bin/env bash
set -e
curl -L "https://gitea.trle5.xyz/trle5/tplate/actions/runs/latest/artifacts/tplate-linux-amd64.bin" -o "tplate.bin"
chmod +x tplate.bin
# build command:
# curl -s "https://gitea.trle5.xyz/trle5/tplate/raw/branch/custom/get-tplate.sh" | sh && ./tplate.bin build
# use go run:
# go run "trle5.xyz/tplate@latest" build