1
0
Fork 0

Change version in pyproject.toml only at the beginning

This commit is contained in:
Daniele Tricoli 2023-02-23 20:48:28 +01:00
parent 2d79f2d856
commit 08b883f27f
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ clean:
[macos]
set-version version:
@echo 'Setting version to {{version}}…'
@sed -i 's/version = ".*"/version = "{{version}}"/' pyproject.toml
@sed -i 's/^version = ".*"/version = "{{version}}"/' pyproject.toml
@sed -i 's/__version__ = ".*"/__version__ = "{{version}}"/' src/freakble/__init__.py
# poetry run ...