python-semantic-release 9.8.5__py3-none-any.whl → 9.8.6__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.5.dist-info → python_semantic_release-9.8.6.dist-info}/METADATA +1 -1
- {python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/RECORD +9 -9
- semantic_release/__init__.py +1 -1
- semantic_release/cli/commands/version.py +11 -1
- {python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/AUTHORS.rst +0 -0
- {python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/LICENSE +0 -0
- {python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/WHEEL +0 -0
- {python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/entry_points.txt +0 -0
- {python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
semantic_release/__init__.py,sha256=
|
|
1
|
+
semantic_release/__init__.py,sha256=dK5qhd8q7ljShz7YRlOlqV3-FOjS5Tac2HMNFOtIj5k,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
|
|
@@ -22,7 +22,7 @@ semantic_release/cli/commands/changelog.py,sha256=zincrvCBwMb7S3K3udRcArtQCuGkre
|
|
|
22
22
|
semantic_release/cli/commands/generate_config.py,sha256=2xZOu3NpyhBp0pWr7d8ugKl_kjqQgpSsSMHq5wHTfrE,1699
|
|
23
23
|
semantic_release/cli/commands/main.py,sha256=kqO8bZw9Nv6T5QkIl53zzmH2rd4LuLoA8agweH0VYPY,4022
|
|
24
24
|
semantic_release/cli/commands/publish.py,sha256=SZQlIewvqyIC14dkIIVVFetE0tPsKbO1cUyxnZsicrw,2845
|
|
25
|
-
semantic_release/cli/commands/version.py,sha256=
|
|
25
|
+
semantic_release/cli/commands/version.py,sha256=fRdzfPhWjS7_ssgNRQ2-VJZVePofy8plBXRbhFkD_P0,24316
|
|
26
26
|
semantic_release/commit_parser/__init__.py,sha256=cv5HFBdw7OJd4Laj4Ex8ZZ5Tml8GwXgQcXW6Pasr2Ao,615
|
|
27
27
|
semantic_release/commit_parser/_base.py,sha256=t-Z9ALgAe7aZpYXz1mk3Fe-uAvipgKdNrq4Okg_WW9c,3026
|
|
28
28
|
semantic_release/commit_parser/angular.py,sha256=ERWeTBTFNIBOaTIopY4Vff0KbeFwrSQWbADe3smVW-8,4579
|
|
@@ -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.8.
|
|
51
|
-
python_semantic_release-9.8.
|
|
52
|
-
python_semantic_release-9.8.
|
|
53
|
-
python_semantic_release-9.8.
|
|
54
|
-
python_semantic_release-9.8.
|
|
55
|
-
python_semantic_release-9.8.
|
|
56
|
-
python_semantic_release-9.8.
|
|
50
|
+
python_semantic_release-9.8.6.dist-info/AUTHORS.rst,sha256=XOReVvpymEFUPsS2QPH97jlfJBVrxwS2eu8-jVAe4gk,230
|
|
51
|
+
python_semantic_release-9.8.6.dist-info/LICENSE,sha256=NE85nszX252sdQdu0xgS9qwfYES0k8qS6gW3uO4jRGE,1083
|
|
52
|
+
python_semantic_release-9.8.6.dist-info/METADATA,sha256=i1R195z7bs33vk2LYi00R9f2kEDS9X_CLUF8tFBTaQM,5404
|
|
53
|
+
python_semantic_release-9.8.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
54
|
+
python_semantic_release-9.8.6.dist-info/entry_points.txt,sha256=6bS6euSagjerp7onDtfI9_ZpczWreZF3gjHfGAegkbo,123
|
|
55
|
+
python_semantic_release-9.8.6.dist-info/top_level.txt,sha256=qYA24nyg3eP-ti5UW7Vuj2aXVmM0wqVHx4mREdRZNAA,17
|
|
56
|
+
python_semantic_release-9.8.6.dist-info/RECORD,,
|
semantic_release/__init__.py
CHANGED
|
@@ -4,6 +4,7 @@ import logging
|
|
|
4
4
|
import os
|
|
5
5
|
import subprocess
|
|
6
6
|
import sys
|
|
7
|
+
from collections import defaultdict
|
|
7
8
|
from datetime import datetime
|
|
8
9
|
from typing import TYPE_CHECKING
|
|
9
10
|
|
|
@@ -160,8 +161,17 @@ def shell(
|
|
|
160
161
|
if not shell:
|
|
161
162
|
raise TypeError("'shell' is None")
|
|
162
163
|
|
|
164
|
+
shell_cmd_param = defaultdict(
|
|
165
|
+
lambda: "-c",
|
|
166
|
+
{
|
|
167
|
+
"cmd": "/c",
|
|
168
|
+
"powershell": "-Command",
|
|
169
|
+
"pwsh": "-Command",
|
|
170
|
+
},
|
|
171
|
+
)
|
|
172
|
+
|
|
163
173
|
return subprocess.run( # noqa: S603
|
|
164
|
-
[shell,
|
|
174
|
+
[shell, shell_cmd_param[shell], cmd],
|
|
165
175
|
env=(env or {}),
|
|
166
176
|
check=check,
|
|
167
177
|
)
|
{python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/AUTHORS.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{python_semantic_release-9.8.5.dist-info → python_semantic_release-9.8.6.dist-info}/top_level.txt
RENAMED
|
File without changes
|