Skip to content

Commit 73c2e0d

Browse files
bump: version 0.1.0.dev13 → 0.1.0.dev14
1 parent aba60dc commit 73c2e0d

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

pixi.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "afterpython"
3-
version = "0.1.0.dev12"
3+
version = "0.1.0.dev14"
44
description = "CLI tool to streamline Python package maintenance and generate a dedicated project website"
55
license = "Apache-2.0"
66
authors = [

src/afterpython/cli/commands/bump.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import subprocess
22

33
import click
4+
from click.exceptions import Exit
5+
6+
from afterpython.utils import has_pixi
47

58

69
@click.command(
@@ -86,3 +89,9 @@ def bump(ctx, release: bool, pre: bool):
8689
args = ["--prerelease", prerelease_type, *ctx.args]
8790

8891
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)

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)