From 833feb91bbf47d4873a60c1abdcd59de5c2ab37a Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Wed, 5 Aug 2026 22:06:25 +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 46e2560..83ba757 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -27,7 +27,7 @@ steps: - apk add --no-cache make curl - make ci-upload - - name: update + - name: publish image: alpine environment: UPDATE_SERVER: https://teletypegames.org @@ -35,4 +35,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 c88b061..dcff42f 100644 --- a/Makefile +++ b/Makefile @@ -128,8 +128,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=bevy&version=$$VERSION" -.PHONY: all build run wasm export binaries binary-linux binary-win watch clean ci-version ci-export ci-binaries ci-upload ci-update +.PHONY: all build run wasm export binaries binary-linux binary-win watch clean ci-version ci-export ci-binaries ci-upload ci-publish