Update GoReleaser config
authorCarlos Alexandro Becker <caarlos0@users.noreply.github.com>
Thu, 28 Jun 2018 05:54:18 +0000 (02:54 -0300)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 28 Jun 2018 05:54:18 +0000 (07:54 +0200)
goreleaser.yml

index 6c70e469d4994d769259509b7ff878d2f5c1d5fd..78bd16974425d653dbc15bbfc1226e99d3010858 100644 (file)
@@ -1,5 +1,5 @@
-build:
-  main: main.go
+builds:
+- main: main.go
   binary: hugo
   ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}}
   env:
@@ -21,10 +21,9 @@ build:
     - goos: openbsd
       goarch: arm
       goarm: 6
-
-fpm:
+nfpm:
   formats:
-      - deb
+    - deb
   vendor: "gohugo.io"
   homepage: "https://gohugo.io/"
   maintainer: "Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>"