From 659917a002ebd3908dc46454881fa939b9e71a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 9 Jul 2018 11:13:29 +0200 Subject: [PATCH] releaser: Revert to the old versions of the release pipeline --- .circleci/config.yml | 2 +- goreleaser.yml | 21 +++++---------------- 2 files changed, 6 insertions(+), 17 deletions(-) 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: