publish git commit sha at /version.txt

This commit is contained in:
Sami Samhuri 2014-10-18 15:03:17 -07:00
parent f0b3174e61
commit 890b1508c1

View file

@ -6,10 +6,12 @@ compile:
publish: compile
@echo
cp .git/$(cat .git/HEAD | cut -d' ' -f2) public/version.txt
./bin/publish.sh --delete
publish_beta: compile
@echo
cp .git/$(cat .git/HEAD | cut -d' ' -f2) public/version.txt
./bin/publish.sh --beta --delete
test_blog: