diff --git a/CLAUDE.md b/CLAUDE.md index 941cbd4..1c59879 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1945,3 +1945,16 @@ composer install - Automatically created by Gitea Actions CI/CD pipeline - Release package: 881 KiB with SHA256 checksum - First automated release - all future releases will use this workflow + +**Additional fixes (same session):** + +- Updated README.md with Auto-Updates section and Development section +- Fixed CI/CD workflow to handle existing releases (delete before recreate) +- When updating a tag, the workflow now checks for existing releases and deletes them first + +**Lessons learned:** + +- Gitea releases persist even when their tag is deleted - must delete release via API +- Composer `symlink: false` doesn't always work - CI must manually replace symlinks with `cp -r` +- Never create zip archives locally on this machine (fills up RAM indefinitely) +- Gitea API endpoint for releases by tag: `GET /api/v1/repos/{owner}/{repo}/releases/tags/{tag}`