autopub 1.0.0a34__py3-none-any.whl → 1.0.0a36__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 +6 -6
- {autopub-1.0.0a34.dist-info → autopub-1.0.0a36.dist-info}/METADATA +1 -1
- {autopub-1.0.0a34.dist-info → autopub-1.0.0a36.dist-info}/RECORD +6 -6
- {autopub-1.0.0a34.dist-info → autopub-1.0.0a36.dist-info}/LICENSE +0 -0
- {autopub-1.0.0a34.dist-info → autopub-1.0.0a36.dist-info}/WHEEL +0 -0
- {autopub-1.0.0a34.dist-info → autopub-1.0.0a36.dist-info}/entry_points.txt +0 -0
autopub/plugins/github.py
CHANGED
@@ -34,7 +34,7 @@ class GithubConfig(BaseModel):
|
|
34
34
|
Here's a preview of the changelog:
|
35
35
|
|
36
36
|
{changelog}
|
37
|
-
|
37
|
+
""",
|
38
38
|
)
|
39
39
|
|
40
40
|
comment_template_error: str = textwrap.dedent(
|
@@ -44,8 +44,7 @@ class GithubConfig(BaseModel):
|
|
44
44
|
Here's the error:
|
45
45
|
|
46
46
|
{error}
|
47
|
-
|
48
|
-
description="Template for release note validation errors",
|
47
|
+
""",
|
49
48
|
)
|
50
49
|
|
51
50
|
comment_template_missing_release: str = textwrap.dedent("""
|
@@ -66,7 +65,7 @@ class GithubConfig(BaseModel):
|
|
66
65
|
|
67
66
|
Release type can be one of patch, minor or major. We use [semver](https://semver.org/), so make sure to pick the appropriate type. If in doubt feel free to ask :)
|
68
67
|
```
|
69
|
-
|
68
|
+
""")
|
70
69
|
|
71
70
|
|
72
71
|
class GithubPlugin(AutopubPlugin):
|
@@ -365,8 +364,9 @@ class GithubPlugin(AutopubPlugin):
|
|
365
364
|
message += f"\n\nReviewers: {', '.join(reviewers)}"
|
366
365
|
|
367
366
|
if sponsors["sponsors"]:
|
368
|
-
|
369
|
-
message += f"\n\nThanks to {', '.join(
|
367
|
+
public_sponsors = [f"@{sponsor}" for sponsor in sponsors["sponsors"]]
|
368
|
+
message += f"\n\nThanks to {', '.join(public_sponsors)}"
|
369
|
+
|
370
370
|
if sponsors["private_sponsors"]:
|
371
371
|
message += f" and the {sponsors['private_sponsors']} private sponsor(s)"
|
372
372
|
|
@@ -5,15 +5,15 @@ autopub/plugin_loader.py,sha256=2ysITgpHGUmcb1mP1Qvs-iBX2wZxmfP9obnebThwUMA,1809
|
|
5
5
|
autopub/plugins/__init__.py,sha256=57ewn1lhZYKKuVL49l3cgqAN9LQfCRzdsgSZimIAkls,2030
|
6
6
|
autopub/plugins/bump_version.py,sha256=-tTGQR0v8K3Bto1Y8UcmkEs4WnExeF1QyHKHPUKgll8,1565
|
7
7
|
autopub/plugins/git.py,sha256=d0SMLc6hwuk0eymj8aHyu3_cEd-7x4fhkwu35wPPV4k,1054
|
8
|
-
autopub/plugins/github.py,sha256=
|
8
|
+
autopub/plugins/github.py,sha256=GVFAfZgBnil7fOuE4Oq1b9XMRM-K3wZr8u8Vsz-MGF0,12833
|
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.
|
16
|
-
autopub-1.0.
|
17
|
-
autopub-1.0.
|
18
|
-
autopub-1.0.
|
19
|
-
autopub-1.0.
|
15
|
+
autopub-1.0.0a36.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
16
|
+
autopub-1.0.0a36.dist-info/METADATA,sha256=VDZgwOcZUSQVSINTD-zOWGjH9Bnts8pOIIYjT3At-Vo,992
|
17
|
+
autopub-1.0.0a36.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
18
|
+
autopub-1.0.0a36.dist-info/entry_points.txt,sha256=oeTav5NgCxif6mcZ_HeVGgGv5LzS4DwdI01nr4bO1IM,43
|
19
|
+
autopub-1.0.0a36.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|