summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2014-05-11 17:26:48 -0300
committerJakob Borg <jakob@nym.se>2014-05-11 17:26:48 -0300
commit7a41362d903a25717c2ffb118f8bfbe696fcbee5 (patch)
treeeba8741d6838aa6e9d6459bc536c28914a31b907 /build.sh
parent3ed783983f27a1be8cab073a27dd866ae46c5721 (diff)
Tagged date is that of the commit, not build
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index e19c1762a7..da8d504a87 100755
--- a/build.sh
+++ b/build.sh
@@ -4,7 +4,7 @@ export COPYFILE_DISABLE=true
distFiles=(README.md LICENSE) # apart from the binary itself
version=$(git describe --always --dirty)
-date=$(date +%s)
+date=$(git show -s --format=%ct)
user=$(whoami)
host=$(hostname)
host=${host%%.*}