Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from zalando-stups/feature/release.sh-update
Browse files Browse the repository at this point in the history
run the tests before push new Version
  • Loading branch information
hjacobs committed Jun 12, 2015
2 parents 03dd025 + aa3f78b commit 3c3ac4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ git --version

version=$1

python3 setup.py clean
python3 setup.py test
python3 setup.py flake8

sed -i "s/__version__ = .*/__version__ = '${version}'/" pierone/__init__.py
git add pierone/__init__.py

git commit -m "Bumped version to $version"
git push

python3 setup.py clean
python3 setup.py test

python3 setup.py sdist upload

git tag ${version}
Expand Down

0 comments on commit 3c3ac4f

Please sign in to comment.