add timestamp to zipname

pull/68/head
Henrique Dias 2016-03-01 21:01:38 +00:00
parent 842769a4ca
commit 04594fcc6b
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ rm -f caddy*
for f in $BuildDir/*
do
# Name .zip file same as binary, but strip .exe from end
zipname=$(basename ${f%".exe"})
zipname=$(date +%s)_$(basename ${f%".exe"})
if [[ $f == *"linux"* ]] || [[ $f == *"bsd"* ]]; then
zipname=${zipname}.tar.gz
else