aboutsummaryrefslogtreecommitdiffhomepage
path: root/goreleaser.yml
diff options
context:
space:
mode:
Diffstat (limited to 'goreleaser.yml')
-rw-r--r--goreleaser.yml214
1 files changed, 0 insertions, 214 deletions
diff --git a/goreleaser.yml b/goreleaser.yml
deleted file mode 100644
index d2cd273ce..000000000
--- a/goreleaser.yml
+++ /dev/null
@@ -1,214 +0,0 @@
-project_name: hugo
-env:
- - GO111MODULE=on
- - GOPROXY=https://proxy.golang.org
-before:
- hooks:
- - go mod download
-builds:
- -
- binary: hugo
- id: hugo
- ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
- env:
- - CGO_ENABLED=0
- flags:
- - -buildmode
- - exe
- goos:
- - darwin
- - linux
- - windows
- goarch:
- - amd64
- - 386
- - arm
- - arm64
- goarm:
- - 7
- ignore:
- - goos: darwin
- goarch: 386
- -
- binary: hugo
- id: hugo_unix
- ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
- env:
- - CGO_ENABLED=0
- flags:
- - -buildmode
- - exe
- goos:
- - freebsd
- - netbsd
- - openbsd
- - dragonfly
- goarch:
- - amd64
- -
- binary: hugo
- id: hugo_extended_windows
- ldflags:
- - -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
- - "-extldflags '-static'"
- env:
- - CGO_ENABLED=1
- - CC=x86_64-w64-mingw32-gcc
- - CXX=x86_64-w64-mingw32-g++
- flags:
- - -buildmode
- - exe
- - -tags
- - extended
- goos:
- - windows
- goarch:
- - amd64
- - binary: hugo
- id: hugo_extended_darwin
- ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
- env:
- - CGO_ENABLED=1
- - CC=o64-clang
- - CXX=o64-clang++
- flags:
- - -buildmode
- - exe
- - -tags
- - extended
- goos:
- - darwin
- goarch:
- - amd64
- - arm64
- - binary: hugo
- id: hugo_extended_linux
- ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
- env:
- - CGO_ENABLED=1
- flags:
- - -buildmode
- - exe
- - -tags
- - extended
- goos:
- - linux
- goarch:
- - amd64
- hooks:
- post: ./goreleaser-hook-post-linux.sh
-release:
- draft: true
-
-archives:
- -
- id: "hugo"
- builds: ['hugo', 'hugo_unix', 'hugo_fat_darwin']
- format: tar.gz
- format_overrides:
- - goos: windows
- format: zip
- name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
- replacements:
- amd64: 64bit
- 386: 32bit
- arm: ARM
- arm64: ARM64
- darwin: macOS
- linux: Linux
- windows: Windows
- openbsd: OpenBSD
- netbsd: NetBSD
- freebsd: FreeBSD
- dragonfly: DragonFlyBSD
- files:
- - README.md
- - LICENSE
- -
- id: "hugo_extended"
- builds: ['hugo_extended_windows', 'hugo_extended_linux', 'hugo_extended_fat_darwin']
- format: tar.gz
- format_overrides:
- - goos: windows
- format: zip
- name_template: "{{.ProjectName}}_extended_{{.Version}}_{{.Os}}-{{.Arch}}"
- replacements:
- amd64: 64bit
- 386: 32bit
- arm: ARM
- arm64: ARM64
- darwin: macOS
- linux: Linux
- windows: Windows
- openbsd: OpenBSD
- netbsd: NetBSD
- freebsd: FreeBSD
- dragonfly: DragonFlyBSD
- files:
- - README.md
- - LICENSE
-
-universal_binaries:
--
- id: hugo_fat_darwin
-
- ids:
- - hugo
-
- replace: true
-
--
- id: hugo_extended_fat_darwin
-
- ids:
- - hugo_extended_darwin
-
- replace: true
-
-nfpms:
- -
- id: "hugo"
- builds: ['hugo']
- formats:
- - deb
- vendor: "gohugo.io"
- homepage: "https://gohugo.io/"
- maintainer: "Bjørn Erik Pedersen <[email protected]>"
- description: "A Fast and Flexible Static Site Generator built with love in GoLang."
- license: "Apache-2.0"
- file_name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
- replacements:
- amd64: 64bit
- 386: 32bit
- arm: ARM
- arm64: ARM64
- darwin: macOS
- linux: Linux
- windows: Windows
- openbsd: OpenBSD
- netbsd: NetBSD
- freebsd: FreeBSD
- dragonfly: DragonFlyBSD
- -
- id: "hugo_extended"
- builds: ['hugo_extended_linux']
- formats:
- - deb
- vendor: "gohugo.io"
- homepage: "https://gohugo.io/"
- maintainer: "Bjørn Erik Pedersen <[email protected]>"
- description: "A Fast and Flexible Static Site Generator built with love in GoLang."
- license: "Apache-2.0"
- file_name_template: "{{.ProjectName}}_extended_{{.Version}}_{{.Os}}-{{.Arch}}"
- replacements:
- amd64: 64bit
- 386: 32bit
- arm: ARM
- arm64: ARM64
- darwin: macOS
- linux: Linux
- windows: Windows
- openbsd: OpenBSD
- netbsd: NetBSD
- freebsd: FreeBSD
- dragonfly: DragonFlyBSD