Rename the update step to publish
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-08-05 22:06:30 +02:00
parent 35297e7ea9
commit c1d24cd626
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ steps:
- apk add --no-cache make curl - apk add --no-cache make curl
- make ci-upload - make ci-upload
- name: update - name: publish
image: alpine image: alpine
environment: environment:
UPDATE_SERVER: https://teletypegames.org UPDATE_SERVER: https://teletypegames.org
@@ -39,4 +39,4 @@ steps:
from_secret: update_secret_key from_secret: update_secret_key
commands: commands:
- apk add --no-cache make curl - apk add --no-cache make curl
- make ci-update - make ci-publish
+2 -2
View File
@@ -113,8 +113,8 @@ ci-upload:
"$(UPDATE_SERVER)/build/upload?name=$(PROJECT)&version=$$VERSION" || exit 1; \ "$(UPDATE_SERVER)/build/upload?name=$(PROJECT)&version=$$VERSION" || exit 1; \
done done
ci-update: ci-publish:
@VERSION=$$(cat $(VERSION_FILE)); \ @VERSION=$$(cat $(VERSION_FILE)); \
curl -fsS -X POST -H "X-Update-Secret: $(UPDATE_SECRET)" "$(UPDATE_SERVER)/build/publish?name=$(PROJECT)&platform=ebitengine&version=$$VERSION" curl -fsS -X POST -H "X-Update-Secret: $(UPDATE_SECRET)" "$(UPDATE_SERVER)/build/publish?name=$(PROJECT)&platform=ebitengine&version=$$VERSION"
.PHONY: all build wasm export watch clean binaries binary-win-x86 binary-win-x64 binary-linux-x64 binary-build ci-version ci-export ci-binaries ci-upload ci-update .PHONY: all build wasm export watch clean binaries binary-win-x86 binary-win-x64 binary-linux-x64 binary-build ci-version ci-export ci-binaries ci-upload ci-publish