python-semantic-release 9.8.9__py3-none-any.whl → 9.9.0__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.
- {python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/METADATA +1 -1
- {python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/RECORD +9 -9
- semantic_release/__init__.py +1 -1
- semantic_release/cli/github_actions_output.py +10 -7
- {python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/AUTHORS.rst +0 -0
- {python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/LICENSE +0 -0
- {python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/WHEEL +0 -0
- {python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/entry_points.txt +0 -0
- {python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
semantic_release/__init__.py,sha256
|
|
1
|
+
semantic_release/__init__.py,sha256=7HrApLLeToDPOB2RQ_5Gl3Qy0WOAYS2AN9Itlv02fvk,1228
|
|
2
2
|
semantic_release/__main__.py,sha256=blPn7CMpuSe4Z-GBIDv0QA0OEDTMGU-7edsLRkkhPR4,120
|
|
3
3
|
semantic_release/const.py,sha256=Z1o2QNh60wSLeF-_1TemMBjU3ZXbV0XghnUFsbTVfOs,831
|
|
4
4
|
semantic_release/enums.py,sha256=D5B_reQGGKQQT22HO5PUtvn2Bok3fkht6TfJtXkmAUg,1020
|
|
@@ -14,7 +14,7 @@ semantic_release/cli/changelog_writer.py,sha256=OVuRI7RTMsMGIaxyEN4kb8N4j08OHNvS
|
|
|
14
14
|
semantic_release/cli/cli_context.py,sha256=23eyV6KWIpUckUSWILEd7t9dixp-QCY5-kGZnyucEYY,4114
|
|
15
15
|
semantic_release/cli/config.py,sha256=bI0v896k0mheNn6_yZpYp6D-q83hx0gcddqYkyJejdo,24845
|
|
16
16
|
semantic_release/cli/const.py,sha256=S8oNNpSaKdZxcAs7PAKEjQHic0czoJBGd7XHo57FOzw,39
|
|
17
|
-
semantic_release/cli/github_actions_output.py,sha256=
|
|
17
|
+
semantic_release/cli/github_actions_output.py,sha256=VYIOb5x5h8eEJdSlXM_mkhT9xXtYi-RgxvnoM7iUn8s,2288
|
|
18
18
|
semantic_release/cli/masking_filter.py,sha256=DxqjiJyABlzwwwZ1r8JGQpb6QrF00StJFm0-2-s5Fv0,3071
|
|
19
19
|
semantic_release/cli/util.py,sha256=FyXaBkeL7nXKjy3X9rQLEwvn7p46xPekp2V8Z-5MVrk,3755
|
|
20
20
|
semantic_release/cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -47,10 +47,10 @@ semantic_release/version/algorithm.py,sha256=ofx_bIWq6ptJVr-ekI11IzxzDEctDKFiVwa
|
|
|
47
47
|
semantic_release/version/declaration.py,sha256=f6Ld7hIhrqvDrRBapJHr-KDimuyo-4IG8009Zu9BIgU,7357
|
|
48
48
|
semantic_release/version/translator.py,sha256=P1noIsVBn8u6zNOFjG0xKYOWapxqf_PHSMvMeLJ9kXg,3050
|
|
49
49
|
semantic_release/version/version.py,sha256=6PCtSbLP88U1daoxnCwHc--YguZo4waGNLqJ5JfeczE,14175
|
|
50
|
-
python_semantic_release-9.
|
|
51
|
-
python_semantic_release-9.
|
|
52
|
-
python_semantic_release-9.
|
|
53
|
-
python_semantic_release-9.
|
|
54
|
-
python_semantic_release-9.
|
|
55
|
-
python_semantic_release-9.
|
|
56
|
-
python_semantic_release-9.
|
|
50
|
+
python_semantic_release-9.9.0.dist-info/AUTHORS.rst,sha256=XOReVvpymEFUPsS2QPH97jlfJBVrxwS2eu8-jVAe4gk,230
|
|
51
|
+
python_semantic_release-9.9.0.dist-info/LICENSE,sha256=NE85nszX252sdQdu0xgS9qwfYES0k8qS6gW3uO4jRGE,1083
|
|
52
|
+
python_semantic_release-9.9.0.dist-info/METADATA,sha256=Hz21ONNLpASUxwoTtHT3wiLWQm6Njzr72BaS9lP9cKc,3520
|
|
53
|
+
python_semantic_release-9.9.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
|
54
|
+
python_semantic_release-9.9.0.dist-info/entry_points.txt,sha256=6bS6euSagjerp7onDtfI9_ZpczWreZF3gjHfGAegkbo,123
|
|
55
|
+
python_semantic_release-9.9.0.dist-info/top_level.txt,sha256=qYA24nyg3eP-ti5UW7Vuj2aXVmM0wqVHx4mREdRZNAA,17
|
|
56
|
+
python_semantic_release-9.9.0.dist-info/RECORD,,
|
semantic_release/__init__.py
CHANGED
|
@@ -12,7 +12,9 @@ class VersionGitHubActionsOutput:
|
|
|
12
12
|
OUTPUT_ENV_VAR = "GITHUB_OUTPUT"
|
|
13
13
|
|
|
14
14
|
def __init__(
|
|
15
|
-
self,
|
|
15
|
+
self,
|
|
16
|
+
released: bool | None = None,
|
|
17
|
+
version: Version | None = None,
|
|
16
18
|
) -> None:
|
|
17
19
|
self._released = released
|
|
18
20
|
self._version = version
|
|
@@ -29,9 +31,7 @@ class VersionGitHubActionsOutput:
|
|
|
29
31
|
|
|
30
32
|
@property
|
|
31
33
|
def version(self) -> Version | None:
|
|
32
|
-
if self._version is None
|
|
33
|
-
return None
|
|
34
|
-
return self._version
|
|
34
|
+
return self._version if self._version is not None else None
|
|
35
35
|
|
|
36
36
|
@version.setter
|
|
37
37
|
def version(self, value: Version) -> None:
|
|
@@ -41,9 +41,11 @@ class VersionGitHubActionsOutput:
|
|
|
41
41
|
|
|
42
42
|
@property
|
|
43
43
|
def tag(self) -> str | None:
|
|
44
|
-
if self.
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
return self.version.as_tag() if self.version is not None else None
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
def is_prerelease(self) -> bool | None:
|
|
48
|
+
return self.version.is_prerelease if self.version is not None else None
|
|
47
49
|
|
|
48
50
|
def to_output_text(self) -> str:
|
|
49
51
|
missing = set()
|
|
@@ -61,6 +63,7 @@ class VersionGitHubActionsOutput:
|
|
|
61
63
|
"released": str(self.released).lower(),
|
|
62
64
|
"version": str(self.version),
|
|
63
65
|
"tag": self.tag,
|
|
66
|
+
"is_prerelease": str(self.is_prerelease).lower(),
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
return str.join("", [f"{key}={value!s}\n" for key, value in outputs.items()])
|
{python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/AUTHORS.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{python_semantic_release-9.8.9.dist-info → python_semantic_release-9.9.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|