docs: add rebuild release workflow

This commit is contained in:
Mikhail Kiselev
2026-02-10 02:48:33 +03:00
parent 8ee027ec56
commit 0d442dae1e

View File

@@ -241,6 +241,31 @@ git push origin v0.2.0
GITEA_TOKEN=your_token make release-publish 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 ### macOS Gatekeeper Fix
**IMPORTANT**: Built app is not signed. macOS shows "app is damaged" error. **IMPORTANT**: Built app is not signed. macOS shows "app is damaged" error.