Skip to content

Commit 6c0e7d2

Browse files
Merge pull request #310 from wphillipmoore/release/1.1.7
release: 1.1.7
2 parents a5f9b82 + bdc5dd7 commit 6c0e7d2

4 files changed

Lines changed: 16 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [1.1.7] - 2026-02-17
9+
10+
### Bug fixes
11+
12+
- sync prepare_release.py empty changelog abort from canonical (#307)
13+
814
## [1.1.6] - 2026-02-17
915

1016
### Bug fixes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pymqrest"
7-
version = "1.1.6"
7+
version = "1.1.7"
88
description = "Python wrapper for the IBM MQ REST API"
99
readme = "README.md"
1010
license = "GPL-3.0-or-later"

scripts/dev/prepare_release.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,14 @@ def generate_changelog(version: str) -> bool:
188188
encoding="utf-8",
189189
)
190190
run_command(("git", "add", "CHANGELOG.md"))
191+
status = read_command_output(("git", "status", "--porcelain"))
192+
if not status:
193+
message = (
194+
f"No publishable changes since the last release.\n"
195+
f"All commits after develop-v{version} are filtered by git-cliff.\n"
196+
f"Aborting release preparation."
197+
)
198+
raise SystemExit(message)
191199
run_command(("git", "commit", "-m", f"chore: prepare release {version}"))
192200
return True
193201

uv.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.

0 commit comments

Comments
 (0)