8 lines
196 B
Bash
8 lines
196 B
Bash
version="$1"
|
|
sed -i "s/version.*/version = \"$version\"/" ./pyproject.toml
|
|
git diff
|
|
git add ./pyproject.toml
|
|
git commit -m "new version v$version"
|
|
git tag v$version
|
|
git push -u origin main --tags
|