From 96aa04f7f944227f9a3e53fab75dcfb5e09e9888 Mon Sep 17 00:00:00 2001 From: Brent Shepherd Date: Thu, 27 Oct 2011 16:16:33 +1000 Subject: [PATCH] Deployment script upgrade - allowing any form of version number. --- deploy.sh | 4 ++-- readme.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 2eeb0f7..75f60db 100755 --- a/deploy.sh +++ b/deploy.sh @@ -25,9 +25,9 @@ echo ".........................................." echo # Check version in readme.txt is the same as plugin file -NEWVERSION1=`grep "^Stable tag" $GITPATH/readme.txt | awk '{print $NF+0}'` +NEWVERSION1=`grep "^Stable tag" $GITPATH/readme.txt | awk '{print $NF}'` echo "readme version: $NEWVERSION1" -NEWVERSION2=`grep "^Version" $GITPATH/$MAINFILE | awk '{print $NF+0}'` +NEWVERSION2=`grep "^Version" $GITPATH/$MAINFILE | awk '{print $NF}'` echo "$MAINFILE version: $NEWVERSION2" if [ "$NEWVERSION1" != "$NEWVERSION2" ]; then echo "Versions don't match. Exiting...."; exit 1; fi diff --git a/readme.txt b/readme.txt index bb75656..dd48846 100644 --- a/readme.txt +++ b/readme.txt @@ -28,7 +28,7 @@ And everyone else in the forums sharing the fixes they find and answering each o = Contribute = -As Social Connect grows in popularity, help is greatly appreciated. +Social Connect is rapidly growing in popularity and help with the growing pains is appreciated. If you're a developer, you can contribute fixes & optimisations via [Social Connect on GitHub](https://github.com/thenbrent/social-connect).