autopub 1.0.0a44__tar.gz → 1.0.0a46__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autopub
3
- Version: 1.0.0a44
3
+ Version: 1.0.0a46
4
4
  Summary: Automatic package release upon pull request merge
5
5
  Home-page: https://github.com/autopub/autopub
6
6
  Author: Justin Mayer
@@ -22,12 +22,13 @@ class AutopubPlugin:
22
22
  _config: ConfigType | None = None
23
23
 
24
24
  def validate_config(self, config: ConfigType):
25
+ print("validate_config", config)
25
26
  configuration_class: type[BaseModel] | None = getattr(self, "Config", None)
26
27
 
27
28
  if configuration_class is None:
28
29
  return
29
30
 
30
- plugin_config = config.get(self.id, {})
31
+ plugin_config = config.get("plugin_config", {}).get(self.id, {})
31
32
 
32
33
  self._config = configuration_class.model_validate(plugin_config)
33
34
 
@@ -323,6 +323,7 @@ class GithubPlugin(AutopubPlugin):
323
323
  return pr_contributors
324
324
 
325
325
  def on_release_notes_valid(self, release_info: ReleaseInfo) -> None:
326
+ print(self.config)
326
327
  assert self.pull_request is not None
327
328
 
328
329
  changelog = self._get_release_message(release_info)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  requires-python = ">=3.9.0,<4.0"
3
- version = "1.0.0-alpha.44"
3
+ version = "1.0.0-alpha.46"
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.44"
28
+ version = "1.0.0-alpha.46"
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