From c1d24cd626f01b75124ce13f0fb98d9c4299fd30 Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Wed, 5 Aug 2026 22:06:30 +0200 Subject: [PATCH] Rename the update step to publish --- .woodpecker.yml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 618df5f..e4eeb83 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -31,7 +31,7 @@ steps: - apk add --no-cache make curl - make ci-upload - - name: update + - name: publish image: alpine environment: UPDATE_SERVER: https://teletypegames.org @@ -39,4 +39,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 e8f8f15..34017d5 100644 --- a/Makefile +++ b/Makefile @@ -113,8 +113,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=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