From 0d442dae1e63067765e98f28e295ad72288f7425 Mon Sep 17 00:00:00 2001 From: Mikhail Kiselev Date: Tue, 10 Feb 2026 02:48:33 +0300 Subject: [PATCH] docs: add rebuild release workflow --- .github/copilot-instructions.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 2a4d121..e1a0823 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -241,6 +241,31 @@ git push origin v0.2.0 GITEA_TOKEN=your_token make release-publish ``` +### Rebuilding Existing Release + +If you need to rebuild a release (e.g., after fixing icon or bugs): + +```bash +# 1. Delete old dist folder +rm -rf dist + +# 2. Delete local and remote tag +git tag -d v0.1.0 +git push origin :refs/tags/v0.1.0 + +# 3. Delete old release on Gitea (get release ID from web UI or API) +curl -s -X DELETE \ + -H "Authorization: token $GITEA_TOKEN" \ + "https://git.movida.biz/api/v1/repos/bell/daily-timer/releases/RELEASE_ID" + +# 4. Create new tag +git tag -a v0.1.0 -m "Release description" +git push origin v0.1.0 + +# 5. Build and upload +GITEA_TOKEN=your_token make release-publish +``` + ### macOS Gatekeeper Fix **IMPORTANT**: Built app is not signed. macOS shows "app is damaged" error.