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