winipedia-utils 0.3.7__py3-none-any.whl → 0.3.9__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.
- winipedia_utils/git/workflows/base/base.py +10 -3
- winipedia_utils/git/workflows/publish.py +2 -1
- winipedia_utils/git/workflows/release.py +1 -1
- {winipedia_utils-0.3.7.dist-info → winipedia_utils-0.3.9.dist-info}/METADATA +1 -1
- {winipedia_utils-0.3.7.dist-info → winipedia_utils-0.3.9.dist-info}/RECORD +7 -7
- {winipedia_utils-0.3.7.dist-info → winipedia_utils-0.3.9.dist-info}/WHEEL +0 -0
- {winipedia_utils-0.3.7.dist-info → winipedia_utils-0.3.9.dist-info}/licenses/LICENSE +0 -0
|
@@ -114,7 +114,8 @@ class Workflow(YamlConfigFile):
|
|
|
114
114
|
steps.append({"name": "Install Dependencies", "run": "poetry install"})
|
|
115
115
|
return steps
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
@staticmethod
|
|
118
|
+
def get_repository_name() -> str:
|
|
118
119
|
"""Get the repository name."""
|
|
119
120
|
return "${{ github.event.repository.name }}"
|
|
120
121
|
|
|
@@ -122,6 +123,12 @@ class Workflow(YamlConfigFile):
|
|
|
122
123
|
"""Get the ref name."""
|
|
123
124
|
return "${{ github.ref_name }}"
|
|
124
125
|
|
|
125
|
-
|
|
126
|
+
@staticmethod
|
|
127
|
+
def get_repo_and_ref_name() -> str:
|
|
126
128
|
"""Get the repository name and ref name."""
|
|
127
|
-
return
|
|
129
|
+
return "${{ github.event.repository.name }}-${{ github.ref_name }}"
|
|
130
|
+
|
|
131
|
+
@classmethod
|
|
132
|
+
def get_repo_and_ref_name_formatted(cls) -> str:
|
|
133
|
+
"""Get the repository name and ref name."""
|
|
134
|
+
return f": {cls.get_repo_and_ref_name()}"
|
|
@@ -56,7 +56,7 @@ class ReleaseWorkflow(Workflow):
|
|
|
56
56
|
"uses": "ncipollo/release-action@v1",
|
|
57
57
|
"with": {
|
|
58
58
|
"tag": "${{ github.ref_name }}",
|
|
59
|
-
"name": self.
|
|
59
|
+
"name": self.get_repo_and_ref_name(),
|
|
60
60
|
"body": "${{ steps.build_changelog.outputs.changelog }}",
|
|
61
61
|
},
|
|
62
62
|
},
|
|
@@ -18,9 +18,9 @@ winipedia_utils/git/pre_commit/hooks.py,sha256=BsIxaAEdOFTdw9-8Y-TxopBiNF969tpb8
|
|
|
18
18
|
winipedia_utils/git/pre_commit/run_hooks.py,sha256=FOs501pCvjrvq2or5S6KP3vFchQTwD9bUP1UqrE16Ts,1509
|
|
19
19
|
winipedia_utils/git/workflows/__init__.py,sha256=BPdntTwFEyBMJ6MyT7gddPHswvRdH9tsRtfK72VSV7Y,57
|
|
20
20
|
winipedia_utils/git/workflows/base/__init__.py,sha256=XHsbmjiaGom-KX-S3leCY9cJD3aP9p_0X6xYMcdkHBU,23
|
|
21
|
-
winipedia_utils/git/workflows/base/base.py,sha256=
|
|
22
|
-
winipedia_utils/git/workflows/publish.py,sha256=
|
|
23
|
-
winipedia_utils/git/workflows/release.py,sha256=
|
|
21
|
+
winipedia_utils/git/workflows/base/base.py,sha256=E3zXCop8jASxK_nQjStixLZpP2vyCI--ZvnuSimGG4Y,4490
|
|
22
|
+
winipedia_utils/git/workflows/publish.py,sha256=Qw1beUk8faYDqxemCrO3raRZD3UZuvRBxjAioM3B73Q,1657
|
|
23
|
+
winipedia_utils/git/workflows/release.py,sha256=mh830wkObIu9RWMygngDVDopItRuHa8Hw2pj2_Blats,2122
|
|
24
24
|
winipedia_utils/iterating/__init__.py,sha256=rlF9hzxbowq5yOfcXvOKOQdB-EQmfrislQpf659Zeu4,53
|
|
25
25
|
winipedia_utils/iterating/iterate.py,sha256=TtXkKnnzteSCYnYO_rqGzi3OwaxQ0-mRP5G-8syJIXo,3385
|
|
26
26
|
winipedia_utils/logging/__init__.py,sha256=AMt1LwA_E7hexYjMpGzUempoyDdAF-dowWvq59wC5aM,51
|
|
@@ -82,7 +82,7 @@ winipedia_utils/testing/tests/conftest.py,sha256=BLgUJtLecOwuEsIyJ__0buqovd5AhiG
|
|
|
82
82
|
winipedia_utils/text/__init__.py,sha256=j2bwtK6kyeHI6SnoBjpRju0C1W2n2paXBDlNjNtaUxA,48
|
|
83
83
|
winipedia_utils/text/config.py,sha256=KTVkcfeExE3daLFYJg_UMsDAFz02DXG5jVtrtlUxnkE,4336
|
|
84
84
|
winipedia_utils/text/string.py,sha256=yXmwOab5hXyVQG1NwlWDpy2prj0U7Vb2F5HKLT2Y77Q,3382
|
|
85
|
-
winipedia_utils-0.3.
|
|
86
|
-
winipedia_utils-0.3.
|
|
87
|
-
winipedia_utils-0.3.
|
|
88
|
-
winipedia_utils-0.3.
|
|
85
|
+
winipedia_utils-0.3.9.dist-info/METADATA,sha256=HDFt85qITTFbCa-z7UEFjDsFkCUN5XW7Sq_oH_n1MNA,9952
|
|
86
|
+
winipedia_utils-0.3.9.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
87
|
+
winipedia_utils-0.3.9.dist-info/licenses/LICENSE,sha256=o316mE2gGzd__JT69p7S_zlOmKiHh8YjpImCCcWyTvM,1066
|
|
88
|
+
winipedia_utils-0.3.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|