autopub 1.0.0a4__py3-none-any.whl → 1.0.0a5__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- autopub/__init__.py +5 -3
- autopub/cli/__init__.py +0 -1
- autopub/plugins/__init__.py +3 -0
- {autopub-1.0.0a4.dist-info → autopub-1.0.0a5.dist-info}/METADATA +1 -1
- {autopub-1.0.0a4.dist-info → autopub-1.0.0a5.dist-info}/RECORD +8 -8
- {autopub-1.0.0a4.dist-info → autopub-1.0.0a5.dist-info}/LICENSE +0 -0
- {autopub-1.0.0a4.dist-info → autopub-1.0.0a5.dist-info}/WHEEL +0 -0
- {autopub-1.0.0a4.dist-info → autopub-1.0.0a5.dist-info}/entry_points.txt +0 -0
autopub/__init__.py
CHANGED
@@ -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,
|
autopub/cli/__init__.py
CHANGED
autopub/plugins/__init__.py
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
autopub/__init__.py,sha256=
|
2
|
-
autopub/cli/__init__.py,sha256=
|
1
|
+
autopub/__init__.py,sha256=qEStdLBp3kmz78ThFjI_xDJeITDDli5U_zyZ6ZhBZ-w,5927
|
2
|
+
autopub/cli/__init__.py,sha256=8FKaFRqJ0lsxoN54x1y4UPBlIgV276KY4Sad_HCiFIc,3000
|
3
3
|
autopub/cli/plugins.py,sha256=0wzL1ipSrNWh2hi2fp0k0HL15GPncSqKgt15tHRM_pw,1117
|
4
4
|
autopub/exceptions.py,sha256=JYn8sIYWCedhtO3XfftZ0M5M_rAPxiGQ4MGbWUaTYwE,1243
|
5
|
-
autopub/plugins/__init__.py,sha256=
|
5
|
+
autopub/plugins/__init__.py,sha256=qI1WFfdkZVSuZjuhfhdB7MW3UTxA7c9YIKf3GxquVXY,1318
|
6
6
|
autopub/plugins/bump_version.py,sha256=rNKczSd9lxR7uhzugH7pppq4k1Q8oaVN_WApxk4xDSU,1441
|
7
7
|
autopub/plugins/pdm.py,sha256=Pczye06fKg8_HMJDkEfMXQyvao9rZ7sqzTHFd6lLEpU,532
|
8
8
|
autopub/plugins/poetry.py,sha256=d2LvW9RI7ZB3reBOXbcp1mqWmzQ06Uyg_T-MxTvlSBg,517
|
9
9
|
autopub/plugins/update_changelog.py,sha256=PVFww5CG9XsF8lNyIhSlOWA7CkjpmPCWiBxUOI90RIg,1525
|
10
10
|
autopub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
autopub/types.py,sha256=FcRH4l27nrkQFUQrbAKxNzPPJfzg_0DExZYsCu9Jdzk,249
|
12
|
-
autopub-1.0.
|
13
|
-
autopub-1.0.
|
14
|
-
autopub-1.0.
|
15
|
-
autopub-1.0.
|
16
|
-
autopub-1.0.
|
12
|
+
autopub-1.0.0a5.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
13
|
+
autopub-1.0.0a5.dist-info/METADATA,sha256=zuiANMRC0TqMphmBbr4ILEhgFluHbT_jMZA5METiE_M,3757
|
14
|
+
autopub-1.0.0a5.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
15
|
+
autopub-1.0.0a5.dist-info/entry_points.txt,sha256=oeTav5NgCxif6mcZ_HeVGgGv5LzS4DwdI01nr4bO1IM,43
|
16
|
+
autopub-1.0.0a5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|