autorun test before tagging new version

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-08-13 01:37:30 +02:00
parent 5c0109af81
commit dea8622c0d

View file

@ -94,6 +94,8 @@ tag()
echo test | ./src/__main__.py -f pinkie >/dev/null || exit 1
echo 'No error was thrown'
./dev/tests/test-everything || exit $?
version=`./setup.py version`
if [ "$version" = 'Ponysay '"$1"' installer' ]; then
git tag -a "$@" && git checkout "$1" && git push -u origin "$1"