File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Examples:
4242 $0 simunet 0.4.0
4343
4444This script will:
45- 1. Update version in pyproject.toml using poetry
45+ 1. Update version in pyproject.toml
4646 2. Commit version changes
4747 3. Create a git tag (agent-X.X.X or simunet-X.X.X)
4848 4. Push changes and tag to trigger the release workflow
@@ -87,10 +87,10 @@ if ! git rev-parse --git-dir > /dev/null 2>&1; then
8787 exit 1
8888fi
8989
90- # Check if poetry is installed
91- if ! command -v poetry & > /dev/null; then
92- print_error " Poetry is not installed"
93- print_error " Install it from: https://python-poetry.org/docs/# installation"
90+ # Check if uv is installed
91+ if ! command -v uv & > /dev/null; then
92+ print_error " uv is not installed"
93+ print_error " Install it from: https://docs.astral.sh/uv/getting-started/ installation/ "
9494 exit 1
9595fi
9696
128128# Update version in pyproject.toml
129129echo
130130print_info " Updating version in projects/${PROJECT} /pyproject.toml to ${VERSION} ..."
131- poetry version " $ VERSION" -C " projects/${PROJECT} "
131+ sed -i ' ' " s/^ version = \" .* \" /version = \" ${ VERSION} \" / " " projects/${PROJECT} /pyproject.toml "
132132print_success " Version updated"
133133
134134# Commit version changes
You can’t perform that action at this time.
0 commit comments