From 890b1508c132cd5ee5db1c28e9dced538b504d96 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 18 Oct 2014 15:03:17 -0700 Subject: [PATCH] publish git commit sha at /version.txt --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 7eb31c4..9452968 100644 --- a/Makefile +++ b/Makefile @@ -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: