From 773d7b3ba2e9bb0244a0864cbfb26dd1dadd39f9 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 2 Mar 2016 22:41:57 +0000 Subject: [PATCH] Update automate.sh --- dist/automate.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dist/automate.sh b/dist/automate.sh index 6e7ea670..a545a29c 100644 --- a/dist/automate.sh +++ b/dist/automate.sh @@ -3,7 +3,7 @@ set -e set -o pipefail shopt -s nullglob # if no files match glob, assume empty list instead of string literal -pwd +MainDir=$(pwd) ## PACKAGE TO BUILD Package=github.com/mholt/caddy @@ -57,8 +57,5 @@ do mv $bin $f done -cd $DistDir -cd .. -pwd -ls +cd $MainDir/dist sed -i 's/{TIME}/'$(date +%s)'/g' bintray.json