This commit is contained in:
CanbiZ
2026-01-13 11:24:19 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ function update_script() {
RELEASE=$(curl -fsSL https://data.forgejo.org/api/v1/repos/forgejo/runner/releases/latest | grep -oP '"tag_name":\s*"\K[^"]+' | sed 's/^v//')
msg_info "Updating Forgejo Runner to v${RELEASE}"
curl -fsSL "https://data.forgejo.org/forgejo/runner/releases/download/v${RELEASE}/forgejo-runner-linux-amd64" -o forgejo-runner
curl -fsSL "https://code.forgejo.org/forgejo/runner/releases/download/v${RELEASE}/forgejo-runner-linux-amd64" -o forgejo-runner
chmod +x /usr/local/bin/forgejo-runner
msg_ok "Updated Forgejo Runner"