shithub: hugo

Download patch

ref: 195f945758b435434b12ed45938dff2177df556f
parent: 44b8f740e9e7aecadffeedd95ebd38cf984991ed
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Jul 10 04:26:26 EDT 2017

releaser: Ignore openbsd/arm

It is failing with "undefined: Flock_t".

--- a/goreleaser.yml
+++ b/goreleaser.yml
@@ -15,6 +15,11 @@
     - 386
     - arm
     - arm64
+  ignore:
+    - goos: openbsd
+      goarch: arm
+      goarm: 6
+
 fpm:
   formats:
       - deb
--- a/releaser/releaser.go
+++ b/releaser/releaser.go
@@ -222,7 +222,7 @@
 		return nil
 	}
 
-	cmd := exec.Command("goreleaser", "--release-notes", releaseNotesFile, "--skip-publish="+fmt.Sprint(r.skipPublish))
+	cmd := exec.Command("goreleaser", "--rm-dist", "--release-notes", releaseNotesFile, "--skip-publish="+fmt.Sprint(r.skipPublish))
 	cmd.Stdout = os.Stdout
 	cmd.Stderr = os.Stderr
 	err := cmd.Run()