autopub 1.0.0a26__tar.gz → 1.0.0a27__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {autopub-1.0.0a26 → autopub-1.0.0a27}/PKG-INFO +1 -1
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugins/bump_version.py +5 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/pyproject.toml +2 -2
- {autopub-1.0.0a26 → autopub-1.0.0a27}/LICENSE +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/__init__.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/cli/__init__.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/exceptions.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugin_loader.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugins/__init__.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugins/git.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugins/pdm.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugins/poetry.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugins/update_changelog.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/plugins/uv.py +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/py.typed +0 -0
- {autopub-1.0.0a26 → autopub-1.0.0a27}/autopub/types.py +0 -0
@@ -38,6 +38,11 @@ class BumpVersionPlugin(AutopubPlugin):
|
|
38
38
|
release_info.previous_version = str(version)
|
39
39
|
release_info.version = version.bump(bump_type).serialize()
|
40
40
|
|
41
|
+
def post_prepare(self, release_info: ReleaseInfo) -> None:
|
42
|
+
config = self.pyproject_config
|
43
|
+
|
44
|
+
assert release_info.version is not None
|
45
|
+
|
41
46
|
self._update_version(config, release_info.version)
|
42
47
|
|
43
48
|
pathlib.Path("pyproject.toml").write_text(tomlkit.dumps(config)) # type: ignore
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
requires-python = ">=3.9.0,<4.0"
|
3
|
-
version = "1.0.0-alpha.
|
3
|
+
version = "1.0.0-alpha.27"
|
4
4
|
name = "autopub"
|
5
5
|
description = "Automatic package release upon pull request merge"
|
6
6
|
authors = [
|
@@ -25,7 +25,7 @@ classifiers = [
|
|
25
25
|
repository = "https://github.com/autopub/autopub"
|
26
26
|
include = ["autopub/py.typed"]
|
27
27
|
name = "autopub"
|
28
|
-
version = "1.0.0-alpha.
|
28
|
+
version = "1.0.0-alpha.27"
|
29
29
|
description = "Automatic package release upon pull request merge"
|
30
30
|
authors = [
|
31
31
|
"Justin Mayer <entroP@gmail.com>",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|