fix: update release description to match current build artifacts
Some checks failed
Lint & Test / test (push) Failing after 14s
Some checks failed
Lint & Test / test (push) Failing after 14s
Add Windows installer, Docker volume mount, and first-time setup instructions to the Gitea release body. Fix Docker registry URL. Add CI/Release sync rule to CLAUDE.md.
This commit is contained in:
@@ -53,6 +53,7 @@ Use `TODO.md` in the project root as the primary task tracker. **Do NOT use the
|
||||
**NEVER rename a storage file path, store key, entity ID prefix, or JSON field name without writing a migration.** User data lives in JSON files under `data/`. If the code starts reading from a new filename while the old file still has user data, THAT DATA IS SILENTLY LOST.
|
||||
|
||||
When renaming any storage-related identifier:
|
||||
|
||||
1. **Add migration logic in `BaseJsonStore.__init__`** (or the specific store) that detects the old file/key and migrates data to the new name automatically on startup
|
||||
2. **Log a clear warning** when migration happens so the user knows
|
||||
3. **Keep the old file as a backup** after migration (rename to `.migrated` or similar)
|
||||
@@ -63,6 +64,10 @@ This applies to: file paths in `StorageConfig`, JSON root keys (e.g. `picture_ta
|
||||
|
||||
**Incident context:** A past rename of `picture_targets.json` → `output_targets.json` was done without migration. The app created a new empty `output_targets.json` while the user's 7 targets sat unread in the old file. Data was silently lost.
|
||||
|
||||
## CI/Release Workflow
|
||||
|
||||
When modifying the release workflow (`.gitea/workflows/release.yml`), **always keep the release description body in sync with actual build artifacts**. If you add/remove/rename a build artifact (ZIP, installer, tarball, Docker image), update the release description table in the `create-release` job to match.
|
||||
|
||||
## General Guidelines
|
||||
|
||||
- Always test changes before marking as complete
|
||||
|
||||
Reference in New Issue
Block a user