autopub 1.0.0a42__py3-none-any.whl → 1.0.0a44__py3-none-any.whl

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.
autopub/plugins/github.py CHANGED
@@ -399,7 +399,11 @@ class GithubPlugin(AutopubPlugin):
399
399
  def _create_release(
400
400
  self, release_info: ReleaseInfo, discussion_url: Optional[str] = None
401
401
  ) -> None:
402
- message = self._get_release_message(release_info, discussion_url=discussion_url)
402
+ message = self._get_release_message(
403
+ release_info,
404
+ include_release_info=True,
405
+ discussion_url=discussion_url,
406
+ )
403
407
 
404
408
  release = self.repository.create_git_release(
405
409
  tag=release_info.version,
@@ -408,7 +412,7 @@ class GithubPlugin(AutopubPlugin):
408
412
  )
409
413
 
410
414
  for asset in pathlib.Path("dist").glob("*"):
411
- if asset.suffix in [".tar.gz", ".whl"]:
415
+ if asset.suffix in [".gz", ".whl"]:
412
416
  release.upload_asset(str(asset))
413
417
 
414
418
  def post_publish(self, release_info: ReleaseInfo) -> None:
@@ -424,4 +428,4 @@ class GithubPlugin(AutopubPlugin):
424
428
  if self.config.create_discussions:
425
429
  discussion_url = self._create_discussion(release_info)
426
430
 
427
- self._create_release(release_info, discussion_url)
431
+ self._create_release(release_info, discussion_url=discussion_url)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autopub
3
- Version: 1.0.0a42
3
+ Version: 1.0.0a44
4
4
  Summary: Automatic package release upon pull request merge
5
5
  Home-page: https://github.com/autopub/autopub
6
6
  Author: Justin Mayer
@@ -5,15 +5,15 @@ autopub/plugin_loader.py,sha256=2ysITgpHGUmcb1mP1Qvs-iBX2wZxmfP9obnebThwUMA,1809
5
5
  autopub/plugins/__init__.py,sha256=vpmk0u8nu_ex8eoEtpXJe-gpqww4OnMQaIfSDGx2XDw,2264
6
6
  autopub/plugins/bump_version.py,sha256=yOXhKHAGFb1DcmeBdh5RfwkOpEYeTqMlE69HgIyUB58,1628
7
7
  autopub/plugins/git.py,sha256=d0SMLc6hwuk0eymj8aHyu3_cEd-7x4fhkwu35wPPV4k,1054
8
- autopub/plugins/github.py,sha256=w2wsTsSklxZopi3ePnd-F5xoT5-faPhjnx_BvdZgNCA,13687
8
+ autopub/plugins/github.py,sha256=nvqS0iE9a6gkZK2bf9VSLKdXNU_hE5e1Pusi8ltCrg0,13772
9
9
  autopub/plugins/pdm.py,sha256=Pczye06fKg8_HMJDkEfMXQyvao9rZ7sqzTHFd6lLEpU,532
10
10
  autopub/plugins/poetry.py,sha256=d2LvW9RI7ZB3reBOXbcp1mqWmzQ06Uyg_T-MxTvlSBg,517
11
11
  autopub/plugins/update_changelog.py,sha256=g_6flOP5wocZbjOaYSayWxobL3ld8f0wT78nFtAIkFc,1586
12
12
  autopub/plugins/uv.py,sha256=goo8QxaD3FVJ1c3xOSmN1hikZTCUXN8jWNac1S5uDDY,1089
13
13
  autopub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  autopub/types.py,sha256=gY1WR93XZVFS7vf5JMSmL_h5z7zO51-rtmZ6MYsh3so,1043
15
- autopub-1.0.0a42.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
16
- autopub-1.0.0a42.dist-info/METADATA,sha256=weKaw0aGe2oYTdjkhd08h0magDg-xZaI5uF9ViY3uA4,992
17
- autopub-1.0.0a42.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
18
- autopub-1.0.0a42.dist-info/entry_points.txt,sha256=oeTav5NgCxif6mcZ_HeVGgGv5LzS4DwdI01nr4bO1IM,43
19
- autopub-1.0.0a42.dist-info/RECORD,,
15
+ autopub-1.0.0a44.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
16
+ autopub-1.0.0a44.dist-info/METADATA,sha256=NkmCywnb32gv0CZf4wfGu51eEB4BqGXxjSkowe3x_eA,992
17
+ autopub-1.0.0a44.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
18
+ autopub-1.0.0a44.dist-info/entry_points.txt,sha256=oeTav5NgCxif6mcZ_HeVGgGv5LzS4DwdI01nr4bO1IM,43
19
+ autopub-1.0.0a44.dist-info/RECORD,,