Skip to content

Commit 7661927

Browse files
authored
chore(boil): Release 0.1.5 (#1306)
* chore(boil): Release 0.1.5 * chore(boil): Add Cargo.lock change * fix(boil): Include all Cargo.* related changes in release * chore(boil): Remove superfluous brace from PR body * chore(boil): Store PR body in file (and correctly handle newlines) * fix(boil): Filter out commits first
1 parent e7f4f15 commit 7661927

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

.scripts/release_boil.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,18 @@ if git diff-index --quiet HEAD --; then
5555
exit 1
5656
fi
5757

58-
git add rust/boil/CHANGELOG.md rust/boil/Cargo.toml
58+
git add rust/boil/CHANGELOG.md rust/boil/Cargo.*
5959
git commit --message "chore(boil): Release $CLEANED_BUMPED_VERSION" --no-verify --gpg-sign
6060

6161
echo "Pushing changes and raising PR"
6262
CHANGELOG_SUMMARY=$(git-cliff --config rust/boil/cliff.toml --tag "$BUMPED_VERSION" --strip header --unreleased)
63-
PR_BODY="This PR was raised automatically by a release script. It releases $BUMPED_VERSION:\n\n$CHANGELOG_SUMMARY)"
63+
PR_BODY=$(mktemp)
64+
echo -e "This PR was raised automatically by a release script. It releases $BUMPED_VERSION:\n$CHANGELOG_SUMMARY" > "$PR_BODY"
6465

6566
git push --set-upstream origin "$RELEASE_BRANCH"
6667
gh pr create --base main \
6768
--title "chore(boil): Release $CLEANED_BUMPED_VERSION" \
68-
--body "$PR_BODY" \
69+
--body-file "$PR_BODY" \
6970
--assignee "@me" \
7071
--draft
7172

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/boil/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@
44

55
All notable changes to this project will be documented in this file.
66

7-
## [Unreleased]
7+
## [0.1.5] - 2025-10-14
8+
9+
[See complete diff](https://github.com/stackabletech/docker-images/compare/boil-0.1.4..boil-0.1.5)
810

911
### Features
1012

1113
- Support Containerfiles per version ([#1302](https://github.com/stackabletech/docker-images/pull/1302)).
1214

15+
### Miscellaneous
16+
17+
- Add release script and changelog ([#1303](https://github.com/stackabletech/docker-images/pull/1303)).
18+
1319
## [0.1.4] - 2025-09-30
1420

1521
[See complete diff](https://github.com/stackabletech/docker-images/compare/boil-0.1.3..boil-0.1.4)

rust/boil/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "boil"
3-
version = "0.1.4" # Managed by .scripts/release_boil.sh
3+
version = "0.1.5" # Managed by .scripts/release_boil.sh
44
edition = "2024"
55
authors.workspace = true
66
license.workspace = true

rust/boil/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ sort_commits = "newest"
2323
filter_commits = true
2424

2525
commit_parsers = [
26+
{ message = "^chore\\(boil\\): Release", skip = true },
2627
{ message = "^feat\\(boil\\)", group = "<!-- 0 --> Features" },
2728
{ message = "^fix\\(boil\\)", group = "<!-- 1 --> Bug Fixes" },
2829
{ message = "^docs?\\(boil\\)", group = "<!-- 2 --> Documentation" },
2930
{ message = "^(perf|refactor|test)\\(boil\\)", group = "<!-- 3 --> Improvements" },
3031
{ message = "^chore\\(boil\\): Improve", group = "<!-- 3 --> Improvements" },
3132
{ message = "^chore\\(boil\\)", group = "<!-- 4 --> Miscellaneous" },
32-
{ message = "^chore\\(boil\\): Release", skip = true },
3333
]
3434

3535
commit_preprocessors = [

0 commit comments

Comments
 (0)