Repository navigation
Establish guarded Base Bash v2 release line - #241
Merged
Merged
Conversation
This was referenced Aug 2, 2026
codeforester
added a commit
that referenced
this pull request
Aug 5, 2026
## Summary - add a fail-closed `scripts/release refs` preflight for candidate tags - reject conflicting local or remote v2 refs before any real publication path - enforce SemVer/monotonic version, embedded release metadata, and changelog invariants in repository validation - document the release preflight and remove the withdrawn `v2.0.0` local tag from this checkout after confirming origin has no matching ref ## Why The merged #241 foundation established the v2 release line but deliberately left provenance, tag/ref, and invariant enforcement open. A stale local `v2.0.0` ref remained from the withdrawn July 2026 attempt, while the remote correctly had no such tag. Release tooling must fail closed rather than risk retagging or silently accepting conflicting metadata. ## Validation - `./tests/validate.sh` (495 BATS cases, Bash smoke checks, examples) - `bats tests/release.bats` (18 cases) - `tests/bash-42-release-smoke.sh` - `shellcheck --severity=error scripts/release tests/validate.sh tests/bash-42-release-smoke.sh tests/release.bats` - `git diff --check` - real-origin `scripts/release refs --version 2.0.0` Refs #215
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.
Summary
Scope
This is the release-line foundation slice of #215. It deliberately leaves
VERSIONat 1.4.0 and keeps #215 open for the remaining provenance, artifact, tag/ref, and coordinated rollout work.Validation
./tests/validate.shtests/lint-warnings.shbats tests/release.batstests/bash-42-release-smoke.shgit diff --checkThe local Docker daemon was unavailable; the expanded pinned Bash 4.2.53 GitHub Actions job provides the exact lower-bound execution.
Refs #215