From 058c25f697c95a5e2cf48f4e88d1b9f3ee804f61 Mon Sep 17 00:00:00 2001 From: Ramesh Padmanabhaiah <22363102+codeforester@users.noreply.github.com> Date: Wed, 7 Oct 2026 20:17:04 +0530 Subject: [PATCH 1/2] release: prepare base-bash-libs 2.2.0 (#564) --- CHANGELOG.md | 5 +++-- README.md | 4 ++-- VERSION | 2 +- lib/bash/base-bash-libs.release | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0b2d28..cc9627e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,9 @@ and versions are tracked in the repo-root `VERSION` file. ## [Unreleased] - +No unreleased changes yet. + +## [2.2.0] - 2026-10-07 ### Added diff --git a/README.md b/README.md index 2170e17..32e303f 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ | Version | License | Install | Release notes | | --- | --- | --- | --- | -| `2.1.0` | [Apache-2.0](LICENSE) | `brew install basefoundry/base/base-bash-libs` | [v2.1.0](https://github.com/basefoundry/base-bash-libs/releases/tag/v2.1.0) | +| `2.2.0` | [Apache-2.0](LICENSE) | `brew install basefoundry/base/base-bash-libs` | [v2.2.0](https://github.com/basefoundry/base-bash-libs/releases/tag/v2.2.0) | -The v2.1.0 release is published with a deterministic [bundle archive](https://github.com/basefoundry/base-bash-libs/releases/download/v2.1.0/base-bash-libs-v2.1.0.tar.gz), [checksum manifest](https://github.com/basefoundry/base-bash-libs/releases/download/v2.1.0/base-bash-libs-v2.1.0.SHA256SUMS), [SPDX SBOM](https://github.com/basefoundry/base-bash-libs/releases/download/v2.1.0/base-bash-libs-v2.1.0.spdx.json), and [provenance statement](https://github.com/basefoundry/base-bash-libs/releases/download/v2.1.0/base-bash-libs-v2.1.0.provenance.json). First-party consumers and Homebrew can promote to its exact immutable commit through the coordinated release handoff; the original v2.0.0 cutover is recorded in completed issue #240. +The v2.2.0 release is published with a deterministic [bundle archive](https://github.com/basefoundry/base-bash-libs/releases/download/v2.2.0/base-bash-libs-v2.2.0.tar.gz), [checksum manifest](https://github.com/basefoundry/base-bash-libs/releases/download/v2.2.0/base-bash-libs-v2.2.0.SHA256SUMS), [SPDX SBOM](https://github.com/basefoundry/base-bash-libs/releases/download/v2.2.0/base-bash-libs-v2.2.0.spdx.json), and [provenance statement](https://github.com/basefoundry/base-bash-libs/releases/download/v2.2.0/base-bash-libs-v2.2.0.provenance.json). First-party consumers and Homebrew can promote to its exact immutable commit through the coordinated release handoff; the original v2.0.0 cutover is recorded in completed issue #240. Reusable Bash standard library for reliable shell scripts. diff --git a/VERSION b/VERSION index 7ec1d6d..ccbccc3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.0 +2.2.0 diff --git a/lib/bash/base-bash-libs.release b/lib/bash/base-bash-libs.release index abb6bbf..66ce0b4 100644 --- a/lib/bash/base-bash-libs.release +++ b/lib/bash/base-bash-libs.release @@ -1,5 +1,5 @@ schema_version=1 -version=2.1.0 +version=2.2.0 commit=unknown dirty_state=unknown provenance=release-artifact From 3038076d81c10807962b07f86783300dadc79a06 Mon Sep 17 00:00:00 2001 From: Ramesh Padmanabhaiah <22363102+codeforester@users.noreply.github.com> Date: Wed, 7 Oct 2026 20:36:51 +0530 Subject: [PATCH 2/2] test: keep release invariant fixture ahead of candidate --- tests/release-invariants.bats | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/release-invariants.bats b/tests/release-invariants.bats index 2be57d5..9c85e03 100644 --- a/tests/release-invariants.bats +++ b/tests/release-invariants.bats @@ -51,7 +51,10 @@ setup() { git clone --local "$BASE_REPO_ROOT" "$candidate_repo" > /dev/null git -C "$candidate_repo" config user.name "Release invariant test" git -C "$candidate_repo" config user.email "release-invariant-test@example.invalid" - printf '2.2.0\n' > "$candidate_repo/VERSION" + current_version="$(<"$candidate_repo/VERSION")" + IFS=. read -r current_major current_minor current_patch <<< "$current_version" + additive_version="${current_major}.${current_minor}.$((current_patch + 1))" + printf '%s\n' "$additive_version" > "$candidate_repo/VERSION" git -C "$candidate_repo" add VERSION git -C "$candidate_repo" commit -m "test: advance candidate version" > /dev/null @@ -59,5 +62,5 @@ setup() { "$candidate_repo/tests/release-invariants.sh" [ "$status" -eq 0 ] - [[ "$output" == *"candidate_version=2.2.0 candidate_ref=HEAD compatibility_ref=v2.0.0"* ]] + [[ "$output" == *"candidate_version=$additive_version candidate_ref=HEAD compatibility_ref=v2.0.0"* ]] }