Only run woodpecker on amd64 and fix lure.sh
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Elara 2023-08-08 09:33:37 -07:00
parent 9cb8375d34
commit 3e486980ea
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,6 @@
pipeline:
platform: linux/amd64
steps:
build:
image: klakegg/hugo:ext-alpine-ci
commands:
@ -24,4 +26,4 @@ pipeline:
template: template.nomad
environment:
- PLUGIN_WATCH_DEPLOYMENT=true
- PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m
- PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m

View File

@ -64,7 +64,7 @@ else
error "No supported package manager detected!"
fi
latestVersion=$(curl -sI 'https://gitea.elara.ws/Elara6331/lure/releases/latest' | grep -o 'location: .*' | rev | cut -d '/' -f1 | rev | tr -d '[:space:]')
latestVersion=$(curl -sI 'https://gitea.elara.ws/Elara6331/lure/releases/latest' | grep -io 'location: .*' | rev | cut -d '/' -f1 | rev | tr -d '[:space:]')
info "Found latest LURE version:" $latestVersion
fname="$(mktemp -u -p /tmp "lure.XXXXXXXXXX").${pkgFormat}"