Skip to content

Commit e703169

Browse files
committed
Merge branch 'origin/main' into refactor/reorganise-claude-cursor-rules
- Update GitHub workflow files from .yml to .yaml extension - Enhance version update script to refresh uv.lock - Resolve symlink conflict in cursor rules
2 parents 8838768 + 878bad1 commit e703169

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed
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)