Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
unify release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Nov 11, 2015
1 parent 1c3446b commit 08f8869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ git --version

version=$1

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

# Do not tag/push on Go CD
if [ -z "$GO_PIPELINE_LABEL" ]; then
python3 setup.py clean
python3 setup.py test
python3 setup.py flake8

git add piu/__init__.py
git add */__init__.py

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

0 comments on commit 08f8869

Please sign in to comment.