You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
275 B

#!/bin/bash
set -e
if ! git diff-index --quiet HEAD --; then
echo "Changes in local directory, commit or clear"
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"