Update CLAUDE.md with v0.7.2 session learnings

- Document CI/CD workflow fix for handling existing releases
- Add lessons learned about Gitea releases and tag updates
- Note about not creating zip archives locally (RAM issue)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-29 22:44:08 +01:00
parent 5826c744dc
commit 40c08bf474

View File

@@ -1945,3 +1945,16 @@ composer install
- Automatically created by Gitea Actions CI/CD pipeline - Automatically created by Gitea Actions CI/CD pipeline
- Release package: 881 KiB with SHA256 checksum - Release package: 881 KiB with SHA256 checksum
- First automated release - all future releases will use this workflow - 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}`