change way to get last version, create a script to revert release

This commit is contained in:
github-actions[bot]
2025-10-27 15:45:59 +11:00
parent 74c8980edc
commit 8477a545bf
4 changed files with 381 additions and 6 deletions

View File

@@ -36,7 +36,6 @@ git config user.email "github-actions[bot]@users.noreply.github.com"
# Update version.py
echo "Updating src/version.py..."
mv -f src/version.py src/last_version.py
echo "__version__ = \"$VERSION\"" > src/version.py
# Update pyproject.toml