From be4c4c8b6971741286690b1603977f67c778f33a Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Mon, 17 Aug 2026 17:21:15 -0400 Subject: [PATCH] chore: sync __version__ stamp to 2026.8.17.1; drop dead release stamper Co-Authored-By: Claude Fable 5 --- autolens/__init__.py | 5 ++++- release.sh | 31 ------------------------------- 2 files changed, 4 insertions(+), 32 deletions(-) delete mode 100755 release.sh diff --git a/autolens/__init__.py b/autolens/__init__.py index 2c7af1b24..f71cee7fe 100644 --- a/autolens/__init__.py +++ b/autolens/__init__.py @@ -151,7 +151,10 @@ conf.instance.register(__file__) -__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/release.sh b/release.sh deleted file mode 100755 index fde2f648e..000000000 --- a/release.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -export PACKAGE_NAME=autolens - -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