Rename the update step to publish

This commit is contained in:
2026-08-05 22:06:55 +02:00
parent 21e2d7150e
commit 40b6cbb38e
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ and [tic80-tools](../tic80-tools).
binary targets (`binaries`, `binary-win-x86`, `binary-win-x64`,
`binary-linux-x64`, `binary-mac-universal`) plus the Woodpecker
pipeline targets (`ci-version`, `ci-export`, `ci-binaries`,
`ci-upload`, `ci-update`).
`ci-upload`, `ci-publish`).
- `example-woodpecker.yaml` — Woodpecker pipeline: version → build
(headless web export + desktop binaries in the `barichello/godot-ci`
image) → upload (HTTP POST to `/build/upload`) → update (calls the
+2 -2
View File
@@ -135,8 +135,8 @@ ci-upload:
"$(UPDATE_SERVER)/build/upload?name=$(PROJECT)&version=$$VERSION" || exit 1; \
done
ci-update:
ci-publish:
@VERSION=$$(cat $(VERSION_FILE)); \
curl -fsS -X POST -H "X-Update-Secret: $(UPDATE_SECRET)" "$(UPDATE_SERVER)/build/publish?name=$(PROJECT)&platform=godot&version=$$VERSION"
.PHONY: all build run web export watch clean binaries binary-win-x86 binary-win-x64 binary-linux-x64 binary-mac-universal binary-build binary-build-mac ci-version ci-export ci-binaries ci-upload ci-update
.PHONY: all build run web export watch clean binaries binary-win-x86 binary-win-x64 binary-linux-x64 binary-mac-universal binary-build binary-build-mac ci-version ci-export ci-binaries ci-upload ci-publish
+2 -2
View File
@@ -21,7 +21,7 @@ steps:
- apk add --no-cache make curl
- make ci-upload
- name: update
- name: publish
image: alpine
environment:
UPDATE_SERVER: https://teletypegames.org
@@ -29,4 +29,4 @@ steps:
from_secret: update_secret_key
commands:
- apk add --no-cache make curl
- make ci-update
- make ci-publish