From 5c5cb1bc965c941f93b166d7ab2c055e3d8261e0 Mon Sep 17 00:00:00 2001 From: Sean Reifschneider Date: Sun, 14 Jan 2024 08:53:08 -0700 Subject: [PATCH] Unused release files removed (using github actions now), preparing for release --- ChangeLog | 2 ++ do_release | 33 --------------------------------- releasescript.auto | 5 ----- 3 files changed, 2 insertions(+), 38 deletions(-) delete mode 100755 do_release delete mode 100755 releasescript.auto diff --git a/ChangeLog b/ChangeLog index 070c483..0ef4f66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +Sun, 14 Jan 2024 08:49:00 -0700 Sean Reifschneider + * delete() return value now is 1 for "DELETED" and 0 for "NOT_FOUND" or server error. (Nick Pope PR #190) diff --git a/do_release b/do_release deleted file mode 100755 index cc6639e..0000000 --- a/do_release +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# -# Release the specified version. - -if [ "$#" -ne 1 ]; then - echo "usage: ${0##*/} [VERSION]" - exit 1 -fi - -if [ "$( git status --porcelain | wc -c)" -ne 0 ]; then - echo "ERROR: Outstanding local changes from git." - exit 1 -fi - -VERSION="$1" - -if [ -f /tmp/python-memcached-"$VERSION".tar.gz ]; then - echo "ERROR: Release files already in /tmp" - exit 1 -fi - -sed -ri 's/^(\s*__version__\s*=\s*).*$/\1"'"$VERSION"'"/' memcache.py -sed -ri 's/^(\sVersion:\s*).*$/\1"'"$VERSION"'"/' PKG-INFO - -git tag -s "$VERSION" -git push -git push --tags - -cd /tmp -release "$VERSION" python-memcached -cd python-memcached-"$VERSION" -python setup.py sdist bdist_wheel -twine upload -r pypitest dist/*"$VERSION"* && twine upload -r pypi dist/*"$VERSION"* diff --git a/releasescript.auto b/releasescript.auto deleted file mode 100755 index c426685..0000000 --- a/releasescript.auto +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# -# Run when the .tar file is created, updates the .spec file. - -# All done in "do_release" now.