From a6821bb8abc1755d59ce308dd7827252b715cee8 Mon Sep 17 00:00:00 2001 From: Geert Weening Date: Mon, 5 Oct 2015 15:58:49 -0700 Subject: [PATCH] Fix bower version regex --- scripts/publish | 4 ++-- scripts/publish_rc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/publish b/scripts/publish index bac44064..2b3a5df7 100644 --- a/scripts/publish +++ b/scripts/publish @@ -26,7 +26,7 @@ gulp bower exit_on_error cd dist/bower -version=$(cat bower.json | grep -Eo '([0-9]\.?)+(-rc[0-9])?') +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 exit_on_error @@ -40,4 +40,4 @@ exit_on_error git push origin master git push --tags origin master -cd .. +cd ../.. diff --git a/scripts/publish_rc b/scripts/publish_rc index dc9f6e41..61a3df22 100644 --- a/scripts/publish_rc +++ b/scripts/publish_rc @@ -26,7 +26,7 @@ gulp bower exit_on_error cd dist/bower -version=$(cat bower.json | grep -Eo '([0-9]\.?)+(-rc[0-9])?') +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 exit_on_error @@ -40,4 +40,4 @@ exit_on_error git push origin master git push --tags origin master -cd .. +cd ../..