autopub 1.0.0a28__tar.gz → 1.0.0a30__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {autopub-1.0.0a28 → autopub-1.0.0a30}/PKG-INFO +1 -1
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/__init__.py +2 -5
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/cli/__init__.py +1 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/pyproject.toml +2 -2
- {autopub-1.0.0a28 → autopub-1.0.0a30}/LICENSE +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/exceptions.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugin_loader.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugins/__init__.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugins/bump_version.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugins/git.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugins/pdm.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugins/poetry.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugins/update_changelog.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/plugins/uv.py +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/py.typed +0 -0
- {autopub-1.0.0a28 → autopub-1.0.0a30}/autopub/types.py +0 -0
@@ -40,11 +40,6 @@ class Autopub:
|
|
40
40
|
RELEASE_FILE_PATH = "RELEASE.md"
|
41
41
|
plugins: list[AutopubPlugin]
|
42
42
|
|
43
|
-
def __init__(self, plugins: Iterable[type[AutopubPlugin]] = ()) -> None:
|
44
|
-
self.plugins = [plugin_class() for plugin_class in plugins]
|
45
|
-
|
46
|
-
self.load_plugins()
|
47
|
-
|
48
43
|
@cached_property
|
49
44
|
def config(self) -> ConfigType:
|
50
45
|
pyproject_path = Path.cwd() / "pyproject.toml"
|
@@ -87,6 +82,7 @@ class Autopub:
|
|
87
82
|
return ReleaseInfo.from_dict(release_info)
|
88
83
|
|
89
84
|
def load_plugins(self, default_plugins: list[str] | None = None) -> None:
|
85
|
+
print("🦆 loading plugins")
|
90
86
|
default_plugins = default_plugins or []
|
91
87
|
|
92
88
|
additional_plugins: list[str] = self.config.get("plugins", []) # type: ignore
|
@@ -94,6 +90,7 @@ class Autopub:
|
|
94
90
|
all_plugins = default_plugins + additional_plugins
|
95
91
|
|
96
92
|
plugins = load_plugins(all_plugins)
|
93
|
+
print("plugins", plugins)
|
97
94
|
|
98
95
|
self.plugins += [plugin_class() for plugin_class in plugins]
|
99
96
|
|
@@ -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.30"
|
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.30"
|
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
|