From 9ec8a3877d2ae357bd87c358a101382ba704f83b Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Mon, 17 Aug 2026 17:18:44 -0400 Subject: [PATCH] chore: sync __version__ stamp to 2026.8.17.1; drop dead release stamper Co-Authored-By: Claude Fable 5 --- autofit/__init__.py | 5 ++++- files/release.sh | 31 ------------------------------- 2 files changed, 4 insertions(+), 32 deletions(-) delete mode 100644 files/release.sh diff --git a/autofit/__init__.py b/autofit/__init__.py index 02579a881..4c6b2ad67 100644 --- a/autofit/__init__.py +++ b/autofit/__init__.py @@ -160,7 +160,10 @@ def save_abc(pickler, obj): pickle._Pickler.save_type(pickler, obj) -__version__ = "2026.7.23.1" +# Last manual sync of the source stamp. Release wheels are stamped at build +# time and the git tag is the release truth — deliberately never bumped per +# release (PyAutoBuild#118/#120). +__version__ = "2026.8.17.1" from autonerves import check_version diff --git a/files/release.sh b/files/release.sh deleted file mode 100644 index 8d98c97eb..000000000 --- a/files/release.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -export PACKAGE_NAME=autofit - -rm -rf $p/dist -rm -rf $p/build - -set -e - -export VERSION=$1 - -cat $PACKAGE_NAME/__init__.py | grep -v __version__ > temp - -cat temp > $PACKAGE_NAME/__init__.py -rm temp -echo "__version__ = '"$VERSION"'" >> $PACKAGE_NAME/__init__.py - -git add $PACKAGE_NAME/__init__.py - -set +e -git commit -m "Incremented version number" -set -e - -python3 setup.py sdist bdist_wheel -twine upload dist/* --skip-existing --username $PYPI_USERNAME --password $PYPI_PASSWORD - - -git push --tags - -rm -rf $p/dist -rm -rf $p/build