diff --git a/release.sh b/release.sh index 387159a..3f28827 100755 --- a/release.sh +++ b/release.sh @@ -9,8 +9,8 @@ version=$1 status=$(git status -sz) [ -z "$status" ] || false git checkout master -tox -epy35,py27,pep8,docs -git push +[ "$SKIP_TESTS" ] || tox -epy35,py27,pep8,docs +git push git tag -s $version -m "Release version ${version}" git checkout $version git clean -fd