releaser: Ignore openbsd/arm
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 10 Jul 2017 06:26:26 +0000 (08:26 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 10 Jul 2017 06:56:57 +0000 (08:56 +0200)
It is failing with "undefined: Flock_t".

goreleaser.yml
releaser/releaser.go

index 438f14f51efcf624a9b689513e4da7d647a7a3db..da25a29ecfd9022a0cfcad02592453930dd9f2f4 100644 (file)
@@ -15,6 +15,11 @@ build:
     - 386
     - arm
     - arm64
+  ignore:
+    - goos: openbsd
+      goarch: arm
+      goarm: 6
+
 fpm:
   formats:
       - deb
index 408572b4e474da70a950a914b840dd765529ff1d..2b7dbba5f4985da2f1b1f16e870d405eb1f0d4f4 100644 (file)
@@ -222,7 +222,7 @@ func (r *ReleaseHandler) release(releaseNotesFile string) error {
                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()