Skip to content

Commit 8206f77

Browse files
committed
Add version bumping script
1 parent 66d37eb commit 8206f77

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/bump-version.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
set -eux
3+
# $1 is the old version but we don't need it
4+
NEW_VERSION="${2}"
5+
6+
sed -i "s/version\ =\ \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/version\ =\ \"$NEW_VERSION\"/g" codecov-cli/pyproject.toml
7+
pip install uv
8+
uv sync --project codecov-cli # updates uv.lock
9+
uv sync --project prevent-cli

0 commit comments

Comments
 (0)