Created
July 12, 2013 15:47
Revisions
-
pdehaye revised this gist
Jul 12, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,4 @@ 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" -
justinbelcher created this gist
Jul 12, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ 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"