Update automate.sh
parent
989a3a0b6a
commit
49440f6aee
|
@ -9,12 +9,10 @@ MainDir=$(pwd)
|
||||||
Package=github.com/mholt/caddy
|
Package=github.com/mholt/caddy
|
||||||
|
|
||||||
## PATHS TO USE
|
## PATHS TO USE
|
||||||
DistDir=$MainDir/dir
|
DistDir=$MainDir/dist
|
||||||
BuildDir=$DistDir/builds
|
BuildDir=$DistDir/builds
|
||||||
ReleaseDir=$DistDir/release
|
ReleaseDir=$DistDir/release
|
||||||
|
|
||||||
echo $ReleaseDir
|
|
||||||
|
|
||||||
caddyext install hugo:github.com/hacdias/caddy-hugo
|
caddyext install hugo:github.com/hacdias/caddy-hugo
|
||||||
|
|
||||||
## BEGIN
|
## BEGIN
|
||||||
|
@ -23,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 -osarch="linux/amd64" $Package
|
gox $Package
|
||||||
|
|
||||||
# Zip them up with release notes and stuff
|
# Zip them up with release notes and stuff
|
||||||
mkdir -p $ReleaseDir
|
mkdir -p $ReleaseDir
|
||||||
|
|
Loading…
Reference in New Issue