Skip to content

Commit

Permalink
[TASK] add publish to bower script
Browse files Browse the repository at this point in the history
  • Loading branch information
geertweening committed Sep 4, 2014
1 parent 2caef53 commit f126610
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/publish_to_bower
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
rm -rf dist
git clone [email protected]:ripple/bower-ripple.git dist
gulp bower
cd dist
version=$(cat bower.json | grep -Eo '([0-9]\.?)+(-rc[0-9])?')
echo "version: $version"
git add ripple.js ripple-debug.js ripple-min.js bower.json
git commit -m "[TASK] add v$version"
git tag "v$version"
git push origin master
git push --tags origin master
cd ..

0 comments on commit f126610

Please sign in to comment.