Skip to content

Commit

Permalink
Release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Jul 13, 2023
1 parent fcb2287 commit 5085759
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog

<!-- insertion marker -->
[v0.6.1](https://github.com/frostming/pdm-packer/releases/tag/0.6.1) (2023-07-13)
---------------------------------------------------------------------------------

### Bug Fixes

- Include dist-info files in the zipapp. [#35](https://github.com/frostming/pdm-packer/issues/35)


[v0.6.0](https://github.com/frostming/pdm-packer/releases/tag/0.6.0) (2023-03-29)
---------------------------------------------------------------------------------

Expand Down
1 change: 0 additions & 1 deletion news/35.bugfix.md

This file was deleted.

37 changes: 21 additions & 16 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ package-dir = "src"
[tool.pdm.dev-dependencies]
dev = [
"pytest>=6.1",
"towncrier~=19.2",
"towncrier>=19.2",
"pdm>=2.3",
"parver>=0.3"
]
Expand Down
6 changes: 4 additions & 2 deletions tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ def release(dry_run=False, commit=True, pre=None, major=False, minor=False, patc
new_version = bump_version(pre, major, minor, patch)
print(f"Bump version to: {new_version}")
if dry_run:
subprocess.check_call(["towncrier", "--version", new_version, "--draft"])
subprocess.check_call(
["towncrier", "build", "--version", new_version, "--draft"]
)
else:
subprocess.check_call(["towncrier", "--yes", "--version", new_version])
subprocess.check_call(["towncrier", "build", "--yes", "--version", new_version])
subprocess.check_call(["git", "add", "."])
if commit:
subprocess.check_call(["git", "commit", "-m", f"Release {new_version}"])
Expand Down

0 comments on commit 5085759

Please sign in to comment.