diff --git a/.scripts/release_boil.sh b/.scripts/release_boil.sh index e2ef419f2..d37958f85 100755 --- a/.scripts/release_boil.sh +++ b/.scripts/release_boil.sh @@ -55,17 +55,18 @@ if git diff-index --quiet HEAD --; then exit 1 fi -git add rust/boil/CHANGELOG.md rust/boil/Cargo.toml +git add rust/boil/CHANGELOG.md rust/boil/Cargo.* git commit --message "chore(boil): Release $CLEANED_BUMPED_VERSION" --no-verify --gpg-sign echo "Pushing changes and raising PR" CHANGELOG_SUMMARY=$(git-cliff --config rust/boil/cliff.toml --tag "$BUMPED_VERSION" --strip header --unreleased) -PR_BODY="This PR was raised automatically by a release script. It releases $BUMPED_VERSION:\n\n$CHANGELOG_SUMMARY)" +PR_BODY=$(mktemp) +echo -e "This PR was raised automatically by a release script. It releases $BUMPED_VERSION:\n$CHANGELOG_SUMMARY" > "$PR_BODY" git push --set-upstream origin "$RELEASE_BRANCH" gh pr create --base main \ --title "chore(boil): Release $CLEANED_BUMPED_VERSION" \ - --body "$PR_BODY" \ + --body-file "$PR_BODY" \ --assignee "@me" \ --draft diff --git a/Cargo.lock b/Cargo.lock index eb2975ae8..7be60f532 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -111,7 +111,7 @@ checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" [[package]] name = "boil" -version = "0.1.4" +version = "0.1.5" dependencies = [ "cap-std", "clap", diff --git a/rust/boil/CHANGELOG.md b/rust/boil/CHANGELOG.md index 3ae953e30..49bf99925 100644 --- a/rust/boil/CHANGELOG.md +++ b/rust/boil/CHANGELOG.md @@ -4,12 +4,18 @@ All notable changes to this project will be documented in this file. -## [Unreleased] +## [0.1.5] - 2025-10-14 + +[See complete diff](https://github.com/stackabletech/docker-images/compare/boil-0.1.4..boil-0.1.5) ### Features - Support Containerfiles per version ([#1302](https://github.com/stackabletech/docker-images/pull/1302)). +### Miscellaneous + +- Add release script and changelog ([#1303](https://github.com/stackabletech/docker-images/pull/1303)). + ## [0.1.4] - 2025-09-30 [See complete diff](https://github.com/stackabletech/docker-images/compare/boil-0.1.3..boil-0.1.4) diff --git a/rust/boil/Cargo.toml b/rust/boil/Cargo.toml index cefe01910..d31e4c30f 100644 --- a/rust/boil/Cargo.toml +++ b/rust/boil/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "boil" -version = "0.1.4" # Managed by .scripts/release_boil.sh +version = "0.1.5" # Managed by .scripts/release_boil.sh edition = "2024" authors.workspace = true license.workspace = true diff --git a/rust/boil/cliff.toml b/rust/boil/cliff.toml index 20b08a073..564e00897 100644 --- a/rust/boil/cliff.toml +++ b/rust/boil/cliff.toml @@ -23,13 +23,13 @@ sort_commits = "newest" filter_commits = true commit_parsers = [ + { message = "^chore\\(boil\\): Release", skip = true }, { message = "^feat\\(boil\\)", group = " Features" }, { message = "^fix\\(boil\\)", group = " Bug Fixes" }, { message = "^docs?\\(boil\\)", group = " Documentation" }, { message = "^(perf|refactor|test)\\(boil\\)", group = " Improvements" }, { message = "^chore\\(boil\\): Improve", group = " Improvements" }, { message = "^chore\\(boil\\)", group = " Miscellaneous" }, - { message = "^chore\\(boil\\): Release", skip = true }, ] commit_preprocessors = [