mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
autorun test before tagging new version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
5c0109af81
commit
dea8622c0d
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue