Remove stale script/sdist script

This commit is contained in:
Ross McFarland
2023-11-12 15:45:43 -08:00
parent eb4979d40b
commit 344bc2de5f
5 changed files with 11 additions and 23 deletions
+1 -1
View File
@@ -2,6 +2,6 @@
set -e
VERSION=v$(grep __VERSION__ octodns/__init__.py | sed -e "s/^[^']*'//" -e "s/'$//")
VERSION=v$(grep __version__ octodns/__init__.py | sed -e "s/^[^']*'//" -e "s/'$//")
echo $VERSION
git log --pretty="%h - %cr - %s (%an)" "${VERSION}..HEAD"
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
set -e
if ! git diff-index --quiet HEAD --; then
echo "Changes in local directory, commit or clear" >&2
exit 1
fi
SHA=$(git rev-parse HEAD)
python setup.py sdist
TARBALL="dist/octodns-$SHA.tar.gz"
mv dist/octodns-0.*.tar.gz "$TARBALL"
echo "Created $TARBALL"