ADD VERSION-bestand fallback in release-detectie (additief)#2
Open
FreekHeijting wants to merge 1 commit into
Open
ADD VERSION-bestand fallback in release-detectie (additief)#2FreekHeijting wants to merge 1 commit into
FreekHeijting wants to merge 1 commit into
Conversation
detect-release.py detecteert nu een plain-text VERSION-bestand op de repo-root (een enkele semver-regel) als laagste precedentie NA plugin.json, pyproject.toml en package.json. Zo kan elke release-waardige repo een version hebben op de voor z'n type conventionele plek, ook repos zonder taal-manifest (docs, templates, scaffolds). De fail-loud-bij-geen-enkele-bron blijft intact: een bestaande package.json zonder version-veld faalt nog steeds luid en valt niet stil terug op VERSION. Het VERSION-bestand wordt strikt gevalideerd op een enkele semver-regel. docs/release-workflow.md documenteert de VERSION-optie en de precedentie. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wat
Voegt een
VERSION-bestand toe als laagste manifest-precedentie inscripts/detect-release.py, puur additief. Precedentie is nu:.claude-plugin/plugin.jsonpyproject.tomlpackage.jsonVERSION(nieuw) — plain-text, een enkele semver-regel op de repo-rootZo kan elke release-waardige repo een version hebben op de voor z'n type
conventionele plek, ook repos zonder taal-manifest (docs, templates, scaffolds).
Waarom
template-orchestratorenimpertio-project-templatehebben geen taal-manifestop de root en werden daardoor overgeslagen door de release-detectie. Een
taal-agnostisch
VERSION-bestand is de conventionele plek voor zulke repos.Contract behouden (geen stille fallback)
package.jsonzonderversion-veld faalt nogsteeds luid en valt niet stil terug op
VERSION. Elke repo houdt precieseen version-bron. (Geverifieerd, zie test T3 hieronder.)
VERSION-bestand wordt strikt gevalideerd: precies een non-blank regel,die een geldige semver moet zijn. Een schemaless tekstbestand heeft geen veld
om op te ankeren, dus de semver-vorm is de enige guard tegen een stray
VERSION-bestand.Lokale dry-tests (allemaal geslaagd)
1.2.3-rc.1Release-impact
Deze repo publiceert zelf geen release:
.github/workflows/release.ymlis deherbruikbare workflow (
on: workflow_call), geen push-getriggerde caller. Mergennaar
mainmaakt de VERSION-fallback dus alleen live voor alle caller-repos; hetmint geen tag/release in deze repo.
NIET mergen zonder apex-review.
🤖 Generated with Claude Code