diff --git a/.woodpecker.yml b/.woodpecker.yml index 069cabb..f965c1c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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 \ No newline at end of file + - PLUGIN_WATCH_DEPLOYMENT_TIMEOUT=10m diff --git a/static/lure.sh b/static/lure.sh index 4723990..a64e0bd 100644 --- a/static/lure.sh +++ b/static/lure.sh @@ -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}"