Skip to content

Commit ca15c32

Browse files
committed
chore: update release.sh script
1 parent da009e5 commit ca15c32

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/release.sh

100644100755
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
set -e
44

5-
cd "$(dirname "$0")"
5+
repo_root="$(cd "$(dirname "$0")/.." && pwd)"
6+
cd "$repo_root"
67

78
FORCE=false
89

@@ -75,7 +76,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
7576
new_version=$(uv version --short)
7677

7778
# commit changes
78-
git add .
79+
git add pyproject.toml uv.lock
7980
git commit -m "bump version to $new_version"
8081
git tag -a "v$new_version" -m "v$new_version"
8182

0 commit comments

Comments
 (0)