From 04594fcc6b1d882d81d0e77662319cea1c0acf24 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 1 Mar 2016 21:01:38 +0000 Subject: [PATCH] add timestamp to zipname --- automate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automate.sh b/automate.sh index 4000806c..c554a20e 100644 --- a/automate.sh +++ b/automate.sh @@ -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