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 Nov 1, 2016
1 parent 2912224 commit 92481be
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" pinboard/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 92481be

Please sign in to comment.