Skip to content

Check the tagged manifest version before building a release ZIP - #16

Merged
Botrops1 merged 1 commit into
Botrops1:mainfrom
DiegoV71:codex/verify-release-package
Nov 27, 2026
Merged

Botrops1 merged 1 commit into
Botrops1:mainfrom
DiegoV71:codex/verify-release-package

Conversation

@DiegoV71

Copy link
Copy Markdown
Contributor

Summary

release tag → resolve commit → check manifest version → git archive ConstraintLens/

Add a cross-platform command for maintainers and use it in the existing release instructions. It verifies the manifest directly in the tagged commit before writing the ZIP. Related to #15.

Evidence

The published tag v1.6.6 points at a commit with manifest version 1.6.5; the new command reports that mismatch. In a disposable clone I exercised the success path with a local tag on the commit containing manifest version 1.6.6. The resulting package passed Community Store validation in Windows and macOS modes. All 35 headless unit tests passed.

Merge Danger

Door: Two-way. Blast radius: Release packaging. For the next release, tag the commit with the matching manifest version, run the command, and attach its ZIP. The command only reads Git refs.

@Botrops1
Botrops1 merged commit 6c3f697 into Botrops1:main Nov 27, 2026
3 checks passed
Botrops1 added a commit that referenced this pull request Nov 27, 2026
## Summary

The `v1.6.6` tag points at `64df593` (the PR #13 merge), one commit
before the version bump in `ed13909`. The release ZIP is built from the
tag, so it shipped a manifest reading `1.6.5` (issue #15). The tag is
protected by a repository ruleset and cannot be moved, so this releases
a new version with identical code.

- `ConstraintLens/ConstraintLens.manifest`: `1.6.6` → `1.6.7`
- `RELEASE_NOTES.md`: new v1.6.7 section (packaging fix, credits
@DiegoV71 for the report and #16)
- `CLAUDE.md`: status and release steps updated; records that published
tags cannot be moved

No code under `ConstraintLens/lib/` or `palette/` changes.

## Test plan

- [x] `python3 -m unittest discover` in `tests/headless` — 35 tests pass
- [ ] After merge: tag the merge commit as `v1.6.7`, run `python
scripts/package_release.py v1.6.7` (refuses if the tag's manifest is not
1.6.7), publish the release with that ZIP

Related to #15.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants