Update automate.sh
This commit is contained in:
parent
6488a4e9bb
commit
dd69af825a
|
@ -21,7 +21,7 @@ caddyext install hugo:github.com/hacdias/caddy-hugo
|
||||||
mkdir -p $BuildDir
|
mkdir -p $BuildDir
|
||||||
cd $BuildDir
|
cd $BuildDir
|
||||||
rm -f caddy*
|
rm -f caddy*
|
||||||
gox $Package
|
gox -osarch="linux/amd64" $Package
|
||||||
|
|
||||||
# Zip them up with release notes and stuff
|
# Zip them up with release notes and stuff
|
||||||
mkdir -p $ReleaseDir
|
mkdir -p $ReleaseDir
|
||||||
|
@ -58,4 +58,4 @@ done
|
||||||
|
|
||||||
cd $MainDir/dist
|
cd $MainDir/dist
|
||||||
sed -i 's/{TIME}/'$(date +%s)'/g' bintray.json
|
sed -i 's/{TIME}/'$(date +%s)'/g' bintray.json
|
||||||
sed -i 's/{PATH}/'${MainDir}'/g' bintray.json
|
sed -i 's/{PATH}/'$MainDir'/g' bintray.json
|
||||||
|
|
Loading…
Reference in New Issue