Skip to content

Commit

Permalink
Deployment script upgrade - allowing any form of version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbrent committed Oct 27, 2011
1 parent 550fefd commit 96aa04f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit 96aa04f

Please sign in to comment.