Permalink
Browse files

require the current revision be taged with the same string present in…

… the version.txt Closes #4330 Fixes #3545
  • Loading branch information...
1 parent c72ef26 commit 939cddacc1bdb9cf8ada7edd8c596e88853e3458 Jason Scott committed with johnbender May 21, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 build/bin/deploy.sh
View
@@ -1,5 +1,10 @@
source build/bin/config.sh
+if [ ! -n "$(git tag -l $VER_OFFICIAL)" ]; then
+ echo "!!! tag the version of the library before deploying"
+ exit 1;
+fi
+
# Deploying all the files to the CDN
mkdir -p tmp
cp -R $OUTPUT tmp/$VER_OFFICIAL

0 comments on commit 939cdda

Please sign in to comment.