autopub 1.0.0a25__tar.gz → 1.0.0a27__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autopub
3
- Version: 1.0.0a25
3
+ Version: 1.0.0a27
4
4
  Summary: Automatic package release upon pull request merge
5
5
  Home-page: https://github.com/autopub/autopub
6
6
  Author: Justin Mayer
@@ -151,8 +151,6 @@ class Autopub:
151
151
  plugin.post_publish(release_info)
152
152
 
153
153
  self._delete_release_file()
154
- self._commit()
155
- self._push()
156
154
 
157
155
  def validate_config(self) -> None:
158
156
  errors: dict[str, ValidationError] = {}
@@ -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.25"
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.25"
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