add timestamp to zipname
parent
842769a4ca
commit
04594fcc6b
|
@ -29,7 +29,7 @@ rm -f caddy*
|
||||||
for f in $BuildDir/*
|
for f in $BuildDir/*
|
||||||
do
|
do
|
||||||
# Name .zip file same as binary, but strip .exe from end
|
# 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
|
if [[ $f == *"linux"* ]] || [[ $f == *"bsd"* ]]; then
|
||||||
zipname=${zipname}.tar.gz
|
zipname=${zipname}.tar.gz
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue