From 3e0bcb94f5a7e6205cdf2a9d81f9212abfec6712 Mon Sep 17 00:00:00 2001
From: pregmodfan <pregmodfan@cock.li>
Date: Fri, 10 Mar 2017 22:47:34 +0200
Subject: [PATCH] compile script produce html files names with actual commit
 hashas part of it

---
 compile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compile b/compile
index 0bfe49cdfb1..5e89ed73c32 100755
--- a/compile
+++ b/compile
@@ -6,6 +6,8 @@ cp src/config/start.tw.proto start.tw.tmp
 find src -name '*.tw' -print >>start.tw.tmp
 mv start.tw.tmp src/config/start.tw
 
-./devTools/tweeGo/tweego -o bin/FC.html src/config/start.tw
+HASH=`git log -n1 |grep commit | sed 's/commit //'`
+
+./devTools/tweeGo/tweego -o bin/FC_pregmod_$HASH.html src/config/start.tw
 
 rm src/config/start.tw
\ No newline at end of file
-- 
GitLab