afterpython 0.1.0.dev10__py3-none-any.whl → 0.1.0.dev14__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.
- afterpython/cli/commands/bump.py +9 -0
- {afterpython-0.1.0.dev10.dist-info → afterpython-0.1.0.dev14.dist-info}/METADATA +1 -1
- {afterpython-0.1.0.dev10.dist-info → afterpython-0.1.0.dev14.dist-info}/RECORD +5 -5
- {afterpython-0.1.0.dev10.dist-info → afterpython-0.1.0.dev14.dist-info}/WHEEL +0 -0
- {afterpython-0.1.0.dev10.dist-info → afterpython-0.1.0.dev14.dist-info}/entry_points.txt +0 -0
afterpython/cli/commands/bump.py
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import subprocess
|
|
2
2
|
|
|
3
3
|
import click
|
|
4
|
+
from click.exceptions import Exit
|
|
5
|
+
|
|
6
|
+
from afterpython.utils import has_pixi
|
|
4
7
|
|
|
5
8
|
|
|
6
9
|
@click.command(
|
|
@@ -86,3 +89,9 @@ def bump(ctx, release: bool, pre: bool):
|
|
|
86
89
|
args = ["--prerelease", prerelease_type, *ctx.args]
|
|
87
90
|
|
|
88
91
|
subprocess.run(["ap", "cz", "bump", *args])
|
|
92
|
+
|
|
93
|
+
# Update pixi.lock after version bump (editable install requires lock refresh)
|
|
94
|
+
if has_pixi():
|
|
95
|
+
result = subprocess.run(["pixi", "install"], check=False)
|
|
96
|
+
if result.returncode != 0:
|
|
97
|
+
raise Exit(result.returncode)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: afterpython
|
|
3
|
-
Version: 0.1.0.
|
|
3
|
+
Version: 0.1.0.dev14
|
|
4
4
|
Summary: CLI tool to streamline Python package maintenance and generate a dedicated project website
|
|
5
5
|
Keywords: package-maintenance,project-website,static-site-generator,developer-tools,documentation,cli-tool,ci/cd,mystmd,semantic-release,python-packaging
|
|
6
6
|
Author: Stephen Yau
|
|
@@ -9,7 +9,7 @@ afterpython/builders/molab.py,sha256=viQ3HY5tnMiHjrgsm4BAMuYtTpiFJ0SDYzcm1TyoRDI
|
|
|
9
9
|
afterpython/cli/__init__.py,sha256=G4AB-rllhmr7tURFc5cXJfkjZZ2bXtMBg3oy4zUGEFw,84
|
|
10
10
|
afterpython/cli/commands/add.py,sha256=Ppp4msdvOwN9_-fdG5-b0-IV9p0Eef9CiIEU3srUjYk,1792
|
|
11
11
|
afterpython/cli/commands/build.py,sha256=kFVdu0tNn82qaHVDS9tUKHYwH73zE3adkRBG_c2t44c,8020
|
|
12
|
-
afterpython/cli/commands/bump.py,sha256=
|
|
12
|
+
afterpython/cli/commands/bump.py,sha256=SczcDBkdabqaP72EKP2sfiFDGOosZIui2iKcGnGEXZA,3408
|
|
13
13
|
afterpython/cli/commands/check.py,sha256=cLP4Vle3ENQHCXBv1okDlWK-L1XK-fv80m66xW3LQkg,1097
|
|
14
14
|
afterpython/cli/commands/clean.py,sha256=ZNhOwxcdxhkzqLPwDJ2_NPLnvMz3C1EKyNttXTyIHnI,2532
|
|
15
15
|
afterpython/cli/commands/commit.py,sha256=TKhlybJxbcChMzZJuTfYafCrYUraqyBpLJ4TP0WA-xs,1335
|
|
@@ -46,7 +46,7 @@ afterpython/tools/pre_commit.py,sha256=U4cazFxaZmyamk_n-85sL6BLOttURm-I2giksgE0q
|
|
|
46
46
|
afterpython/tools/pyproject.py,sha256=YiSbW-bXYtFCkXRl_Ibdca2OeYZT0lsqzRRjZFxMcp4,2327
|
|
47
47
|
afterpython/utils.py,sha256=Uh4pTGeavH5pf8GCeMYQGqs3iPpZzjjAJ_R7t2mhEyY,7045
|
|
48
48
|
afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
|
|
49
|
-
afterpython-0.1.0.
|
|
50
|
-
afterpython-0.1.0.
|
|
51
|
-
afterpython-0.1.0.
|
|
52
|
-
afterpython-0.1.0.
|
|
49
|
+
afterpython-0.1.0.dev14.dist-info/WHEEL,sha256=3id4o64OvRm9dUknh3mMJNcfoTRK08ua5cU6DFyVy-4,79
|
|
50
|
+
afterpython-0.1.0.dev14.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
|
|
51
|
+
afterpython-0.1.0.dev14.dist-info/METADATA,sha256=0w7h6S6kh0OKV_LMX2BEOV89VnPTJ-AP-U-w1llWp_0,5907
|
|
52
|
+
afterpython-0.1.0.dev14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|