autopub 1.0.0a4__tar.gz → 1.0.0a5__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {autopub-1.0.0a4 → autopub-1.0.0a5}/PKG-INFO +1 -1
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/__init__.py +5 -3
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/cli/__init__.py +0 -1
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/plugins/__init__.py +3 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/pyproject.toml +1 -1
- {autopub-1.0.0a4 → autopub-1.0.0a5}/LICENSE +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/README.md +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/cli/plugins.py +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/exceptions.py +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/plugins/bump_version.py +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/plugins/pdm.py +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/plugins/poetry.py +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/plugins/update_changelog.py +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/py.typed +0 -0
- {autopub-1.0.0a4 → autopub-1.0.0a5}/autopub/types.py +0 -0
@@ -96,14 +96,11 @@ class Autopub:
|
|
96
96
|
|
97
97
|
self._write_artifact(self.release_data)
|
98
98
|
|
99
|
-
def post_prepare(self) -> None:
|
100
99
|
for plugin in self.plugins:
|
101
100
|
plugin.post_prepare(self.release_data)
|
102
101
|
|
103
102
|
self._write_artifact(self.release_data)
|
104
103
|
|
105
|
-
self._delete_release_file()
|
106
|
-
|
107
104
|
def _delete_release_file(self) -> None:
|
108
105
|
self.release_file.unlink()
|
109
106
|
|
@@ -116,6 +113,11 @@ class Autopub:
|
|
116
113
|
if isinstance(plugin, AutopubPackageManagerPlugin):
|
117
114
|
plugin.publish(repository=repository)
|
118
115
|
|
116
|
+
for plugin in self.plugins:
|
117
|
+
plugin.post_publish()
|
118
|
+
|
119
|
+
self._delete_release_file()
|
120
|
+
|
119
121
|
def _write_artifact(self, release_info: ReleaseInfo) -> None:
|
120
122
|
data = {
|
121
123
|
"hash": self.release_file_hash,
|
@@ -3,7 +3,7 @@ requires-python = ">=3.8"
|
|
3
3
|
|
4
4
|
[tool.poetry]
|
5
5
|
name = "autopub"
|
6
|
-
version = "1.0.0-alpha.
|
6
|
+
version = "1.0.0-alpha.5"
|
7
7
|
description = "Automatic package release upon pull request merge"
|
8
8
|
authors = ["Justin Mayer <entroP@gmail.com>", "Patrick Arminio <patrick.arminio@gmail.com>"]
|
9
9
|
license = "AGPL-3.0"
|
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
|