Skip to content

Commit ae956c0

Browse files
committed
release.py: fix check order
Also add release notes.
1 parent c880480 commit ae956c0

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Source distribution (sdist) of 1.1.4 has been fixed as the original tarball
5+
included the documentation as well by mistake, resulting a significantly
6+
larger file.

scripts/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ def main() -> None:
9999
if current_version == new_version:
100100
raise UsageError("Current version is the same as new version")
101101

102-
check_changelog()
103102
check_git_repository_dirty()
103+
check_changelog()
104104
run_test_release()
105105

106106
bump_version(Path("doc/conf.py"), ["version"], current_version, new_version)

0 commit comments

Comments
 (0)