diff --git a/.circleci/config.yml b/.circleci/config.yml index 7c733b1b1..93638fed9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ defaults: &defaults working_directory: /go/src/github.com/gohugoio docker: - - image: bepsays/ci-goreleaser:0.79.0-2 + - image: bepsays/ci-goreleaser:0.34.2-11 version: 2 jobs: diff --git a/goreleaser.yml b/goreleaser.yml index 5bb2e1636..6c70e469d 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -1,5 +1,5 @@ -builds: -- main: main.go +build: + main: main.go binary: hugo ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}} env: @@ -21,26 +21,15 @@ builds: - goos: openbsd goarch: arm goarm: 6 -nfpm: + +fpm: formats: - - deb + - deb vendor: "gohugo.io" homepage: "https://gohugo.io/" maintainer: "Bjørn Erik Pedersen " description: "A Fast and Flexible Static Site Generator built with love in GoLang." license: "Apache 2.0" - replacements: - amd64: 64bit - 386: 32bit - arm: ARM - arm64: ARM64 - darwin: macOS - linux: Linux - windows: Windows - openbsd: OpenBSD - netbsd: NetBSD - freebsd: FreeBSD - dragonfly: DragonFlyBSD archive: format: tar.gz format_overrides: