diff --git a/dist/automate.sh b/dist/automate.sh index 2d864142..9aa23370 100644 --- a/dist/automate.sh +++ b/dist/automate.sh @@ -20,7 +20,7 @@ caddyext install hugo:github.com/hacdias/caddy-hugo mkdir -p $BuildDir cd $BuildDir rm -f caddy* -gox -os="linux" $Package +gox -osarch="linux/amd64" $Package # Zip them up with release notes and stuff mkdir -p $ReleaseDir @@ -57,5 +57,5 @@ done caddyext remove hugo -echo $DistDir -ls $DistDir +echo $ReleaseDir +ls $ReleaseDir diff --git a/dist/descriptor.json b/dist/descriptor.json index edecb519..11fe9c8a 100644 --- a/dist/descriptor.json +++ b/dist/descriptor.json @@ -8,7 +8,7 @@ "name": "latest" }, "files": [{ - "includePattern": "dist/release/(.*)", + "includePattern": "release/(.*)", "uploadPattern": "caddy-hugo/$1" }], "publish": true