Created
July 12, 2013 15:47
-
-
Save pdehaye/5985467 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -en "* Incrementing Deployment:" | |
version=`cat VERSION_NUMBER` | |
version=$((version+1)) | |
echo -n "$version" > VERSION_NUMBER | |
sed -i '' "s/{{VERSION}}/$version/g" ../index.html | |
echo -e " Done.\n\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment