From 5aa53ea62b3f1679f136c406c83f1efc5834fa2e Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Wed, 5 Aug 2026 22:06:42 +0200 Subject: [PATCH] Rename the update step to publish --- .woodpecker.yaml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 25e4ab8..dfd5657 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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 diff --git a/Makefile b/Makefile index 7938c6b..f01b71e 100644 --- a/Makefile +++ b/Makefile @@ -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