Skip to content

Commit

Permalink
add bump version script
Browse files Browse the repository at this point in the history
  • Loading branch information
dlo committed Jan 12, 2017
1 parent a4e980d commit 369c4e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bump_version.sh
@@ -0,0 +1,11 @@
#!/bin/bash

if [ "$1" != "" ]; then
sed -i "" "s/\(__version__[ ]*=\).*/\1 \"$1\"/g" bottlenose/metadata.py
git add .
git commit -m "bump version to $1"
git tag $1
git push origin master
git push --tags
make
fi

0 comments on commit 369c4e8

Please sign in to comment.