afterpython 0.1.0.dev15__py3-none-any.whl → 0.1.0.dev16__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.
@@ -95,3 +95,24 @@ def bump(ctx, release: bool, pre: bool):
95
95
  result = subprocess.run(["pixi", "install"], check=False)
96
96
  if result.returncode != 0:
97
97
  raise Exit(result.returncode)
98
+
99
+ # Check if pixi.lock was modified
100
+ status = subprocess.run(
101
+ ["git", "diff", "--name-only", "pixi.lock"],
102
+ capture_output=True,
103
+ text=True,
104
+ check=False,
105
+ )
106
+ if status.stdout.strip():
107
+ # Stage and commit pixi.lock
108
+ subprocess.run(["git", "add", "pixi.lock"], check=True)
109
+ subprocess.run(
110
+ [
111
+ "git",
112
+ "commit",
113
+ "-m",
114
+ "build: update pixi.lock after version bump",
115
+ ],
116
+ check=True,
117
+ )
118
+ click.echo("✓ Committed pixi.lock update")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afterpython
3
- Version: 0.1.0.dev15
3
+ Version: 0.1.0.dev16
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=SczcDBkdabqaP72EKP2sfiFDGOosZIui2iKcGnGEXZA,3408
12
+ afterpython/cli/commands/bump.py,sha256=2MZBQ1kxjr0bWhA--_xHwdwjsUlCyrXPn3pJ5NDZO4k,4088
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
@@ -48,7 +48,7 @@ afterpython/tools/pre_commit.py,sha256=oNsrUkPI13rSSBSyhyTTKPnQGhDxLIPYhxu6kL0fD
48
48
  afterpython/tools/pyproject.py,sha256=kb7BDn24yH_xS2F5_L0dK-GL4KgOJS-MIIUQhHnLorI,3507
49
49
  afterpython/utils.py,sha256=Uh4pTGeavH5pf8GCeMYQGqs3iPpZzjjAJ_R7t2mhEyY,7045
50
50
  afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
51
- afterpython-0.1.0.dev15.dist-info/WHEEL,sha256=3id4o64OvRm9dUknh3mMJNcfoTRK08ua5cU6DFyVy-4,79
52
- afterpython-0.1.0.dev15.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
53
- afterpython-0.1.0.dev15.dist-info/METADATA,sha256=xcVL1wJJ5Tk0F2UvwCHzvZKU7uXoQKddOcdF9HdURH4,5907
54
- afterpython-0.1.0.dev15.dist-info/RECORD,,
51
+ afterpython-0.1.0.dev16.dist-info/WHEEL,sha256=3id4o64OvRm9dUknh3mMJNcfoTRK08ua5cU6DFyVy-4,79
52
+ afterpython-0.1.0.dev16.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
53
+ afterpython-0.1.0.dev16.dist-info/METADATA,sha256=4gsBrNsjJOZvPnC5rqUknR41gYYiD1EV2pCn8v6BO0w,5907
54
+ afterpython-0.1.0.dev16.dist-info/RECORD,,