compose/script/release

15 lines
160 B
Bash
Executable File

#!/bin/bash
set -xe
if [ -z "$1" ]; then
echo 'pass a version as first argument'
exit 1
fi
git tag $1
git push --tags
python setup.py sdist upload