Skip to content

Commit 75a0462

Browse files
committed
Merge remote-tracking branch 'origin/main' into chore/ci-use-just-commands
2 parents a8cf7f3 + 878bad1 commit 75a0462

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

.cursor/rules/release-please-standards.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ actions:
2323
```
2424
.release-please-config.json # Release configuration
2525
.release-please-manifest.json # Version tracking
26-
.github/workflows/release.yml # Release workflow
26+
.github/workflows/release.yaml # Release workflow
2727
```
2828

2929
2. Commit Message Format:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on:
55
paths:
66
- "flake.nix"
77
- "flake.lock"
8-
- ".github/workflows/nix-flake.yml"
8+
- ".github/workflows/nix-flake.yaml"
99
- ".github/actions/setup-nix/**"
1010
pull_request:
1111
paths:
1212
- "flake.nix"
1313
- "flake.lock"
14-
- ".github/workflows/nix-flake.yml"
14+
- ".github/workflows/nix-flake.yaml"
1515
- ".github/actions/setup-nix/**"
1616

1717
concurrency:

scripts/update_version.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
"""
1212

1313
import re
14+
import subprocess
1415
from pathlib import Path
1516

1617
import tomli
1718

1819

1920
def main() -> None:
20-
"""Update version in __init__.py to match pyproject.toml."""
21+
"""Update version in __init__.py to match pyproject.toml and refresh uv.lock."""
2122
# Read version from pyproject.toml
2223
pyproject_path = Path("pyproject.toml")
2324
init_path = Path("stackone_ai/__init__.py")
@@ -36,6 +37,11 @@ def main() -> None:
3637
else:
3738
print(f"Version in {init_path} already matches {version}")
3839

40+
# Update uv.lock to reflect version change in pyproject.toml
41+
print("Updating uv.lock...")
42+
subprocess.run(["uv", "lock"], check=True)
43+
print("uv.lock updated successfully")
44+
3945

4046
if __name__ == "__main__":
4147
main()

0 commit comments

Comments
 (0)