diff --git a/.scripts/release_boil.sh b/.scripts/release_boil.sh index 6269f184c..9bb59c3d0 100755 --- a/.scripts/release_boil.sh +++ b/.scripts/release_boil.sh @@ -1,17 +1,33 @@ #!/usr/bin/env bash set -euo pipefail +REQUESTED_VERSION="${1:-}" + MESSAGE="# Managed by .scripts\/release_boil.sh" -BUMPED_VERSION=$(git-cliff --config rust/boil/cliff.toml --bumped-version) +if [ -z "$REQUESTED_VERSION" ]; then + BUMPED_VERSION=$(git-cliff --config rust/boil/cliff.toml --bumped-version) +else + if [[ "$REQUESTED_VERSION" =~ ^boil-[0-9]+\.[0-9]+\.[0-9]+ ]]; then + BUMPED_VERSION="$REQUESTED_VERSION" + else + echo "Invalid requested version. Must be boil-X.Y.Z" + exit 1 + fi +fi + +echo "Bumping to $BUMPED_VERSION" + CLEANED_BUMPED_VERSION=${BUMPED_VERSION#boil-} RELEASE_BRANCH="chore/boil-release-$CLEANED_BUMPED_VERSION" -echo "Checking if working directory is clean" -if ! git diff-index --quiet HEAD --; then - echo "Working directory is dirty, aborting" >&2 - exit 1 +if [ -z "${SKIP_DIRTY_CHECK:-}" ]; then + echo "Checking if working directory is clean" + if ! git diff-index --quiet HEAD --; then + echo "Working directory is dirty, aborting" >&2 + exit 1 + fi fi # Prompt the user to confirm their Git identity used to create the commit @@ -56,7 +72,7 @@ if git diff-index --quiet HEAD --; then exit 1 fi -git add rust/boil/CHANGELOG.md rust/boil/Cargo.* Cargo.lock +git add rust/boil/CHANGELOG.md rust/boil/Cargo.* Cargo.lock .scripts/release_boil.sh git commit --message "chore(boil): Release $CLEANED_BUMPED_VERSION" --no-verify --gpg-sign echo "Pushing changes and raising PR" diff --git a/Cargo.lock b/Cargo.lock index 0bd1fba09..1a6352ef8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,7 +115,7 @@ checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8" [[package]] name = "boil" -version = "0.2.3-rc.1" +version = "0.3.0" dependencies = [ "cap-std", "clap", diff --git a/rust/boil/CHANGELOG.md b/rust/boil/CHANGELOG.md index 3947dc589..b0696cb0d 100644 --- a/rust/boil/CHANGELOG.md +++ b/rust/boil/CHANGELOG.md @@ -4,9 +4,21 @@ All notable changes to this project will be documented in this file. -## [0.2.3-rc.1] - 2026-07-01 +## [0.3.0] - 2026-08-14 -[See complete diff](https://github.com/stackabletech/docker-images/compare/boil-0.2.2..0.2.3-rc.1) +[See complete diff](https://github.com/stackabletech/docker-images/compare/boil-0.2.3-rc.1..boil-0.3.0) + +### Features + +- **BREAKING:** Output structured data in boil-target-tags file ([#1598](https://github.com/stackabletech/docker-images/pull/1598)). + +### Bug Fixes + +- Improve VersionExt::is_floating impl ([#1571](https://github.com/stackabletech/docker-images/pull/1571)). + +## [0.2.3-rc.1] - 2026-07-06 + +[See complete diff](https://github.com/stackabletech/docker-images/compare/boil-0.2.2..boil-0.2.3-rc.1) ### Features diff --git a/rust/boil/Cargo.toml b/rust/boil/Cargo.toml index 812c9a758..47a02fa4b 100644 --- a/rust/boil/Cargo.toml +++ b/rust/boil/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "boil" -version = "0.2.3-rc.1" # Managed by .scripts/release_boil.sh +version = "0.3.0" # Managed by .scripts/release_boil.sh edition = "2024" authors.workspace = true license.workspace = true