From 40c08bf4746a8fb5040696c753dc2828e06dddc8 Mon Sep 17 00:00:00 2001 From: magdev Date: Thu, 29 Jan 2026 22:44:08 +0100 Subject: [PATCH] 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 --- CLAUDE.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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}`