2018-08-15 07:31:56 +00:00
|
|
|
project_name: hugo
|
2019-06-08 12:14:27 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
- GOPROXY=https://proxy.golang.org
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
builds:
|
|
|
|
-
|
|
|
|
binary: hugo
|
|
|
|
id: hugo
|
2022-03-17 08:27:11 +00:00
|
|
|
ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
|
2019-06-08 12:14:27 +00:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
2020-08-14 10:03:22 +00:00
|
|
|
flags:
|
|
|
|
- -buildmode
|
|
|
|
- exe
|
2019-06-08 12:14:27 +00:00
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- 386
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
goarm:
|
|
|
|
- 7
|
2020-09-13 19:07:08 +00:00
|
|
|
ignore:
|
|
|
|
- goos: darwin
|
|
|
|
goarch: 386
|
2021-10-30 09:25:04 +00:00
|
|
|
-
|
|
|
|
binary: hugo
|
|
|
|
id: hugo_unix
|
2022-03-17 08:27:11 +00:00
|
|
|
ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
|
2021-10-30 09:25:04 +00:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
flags:
|
|
|
|
- -buildmode
|
|
|
|
- exe
|
|
|
|
goos:
|
|
|
|
- freebsd
|
|
|
|
- netbsd
|
|
|
|
- openbsd
|
|
|
|
- dragonfly
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2019-06-08 12:14:27 +00:00
|
|
|
-
|
|
|
|
binary: hugo
|
|
|
|
id: hugo_extended_windows
|
|
|
|
ldflags:
|
2022-03-17 08:27:11 +00:00
|
|
|
- -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
|
2019-06-08 12:14:27 +00:00
|
|
|
- "-extldflags '-static'"
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1
|
|
|
|
- CC=x86_64-w64-mingw32-gcc
|
|
|
|
- CXX=x86_64-w64-mingw32-g++
|
|
|
|
flags:
|
2020-08-14 10:03:22 +00:00
|
|
|
- -buildmode
|
|
|
|
- exe
|
2019-06-08 12:14:27 +00:00
|
|
|
- -tags
|
|
|
|
- extended
|
|
|
|
goos:
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- binary: hugo
|
|
|
|
id: hugo_extended_darwin
|
2022-03-17 08:27:11 +00:00
|
|
|
ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
|
2019-06-08 12:14:27 +00:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1
|
|
|
|
- CC=o64-clang
|
|
|
|
- CXX=o64-clang++
|
|
|
|
flags:
|
2020-08-14 10:03:22 +00:00
|
|
|
- -buildmode
|
|
|
|
- exe
|
2019-06-08 12:14:27 +00:00
|
|
|
- -tags
|
|
|
|
- extended
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-02-17 12:52:58 +00:00
|
|
|
- arm64
|
2019-06-08 12:14:27 +00:00
|
|
|
- binary: hugo
|
|
|
|
id: hugo_extended_linux
|
2022-03-17 08:27:11 +00:00
|
|
|
ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio
|
2019-06-08 12:14:27 +00:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1
|
|
|
|
flags:
|
2020-08-14 10:03:22 +00:00
|
|
|
- -buildmode
|
|
|
|
- exe
|
2019-06-08 12:14:27 +00:00
|
|
|
- -tags
|
|
|
|
- extended
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-10-10 14:51:06 +00:00
|
|
|
hooks:
|
|
|
|
post: ./goreleaser-hook-post-linux.sh
|
2017-04-13 14:59:05 +00:00
|
|
|
release:
|
|
|
|
draft: true
|
2019-06-08 12:14:27 +00:00
|
|
|
|
|
|
|
archives:
|
|
|
|
-
|
|
|
|
id: "hugo"
|
2021-10-30 09:25:04 +00:00
|
|
|
builds: ['hugo', 'hugo_unix']
|
2019-06-08 12:14:27 +00:00
|
|
|
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_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
|
2021-11-05 15:31:19 +00:00
|
|
|
|
2019-06-08 12:14:27 +00:00
|
|
|
nfpms:
|
|
|
|
-
|
|
|
|
id: "hugo"
|
|
|
|
builds: ['hugo']
|
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
vendor: "gohugo.io"
|
|
|
|
homepage: "https://gohugo.io/"
|
|
|
|
maintainer: "Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>"
|
|
|
|
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
|
2021-05-23 15:21:30 +00:00
|
|
|
license: "Apache-2.0"
|
2021-02-17 12:52:58 +00:00
|
|
|
file_name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
|
2019-06-08 12:14:27 +00:00
|
|
|
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 <bjorn.erik.pedersen@gmail.com>"
|
|
|
|
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
|
2021-05-23 15:21:30 +00:00
|
|
|
license: "Apache-2.0"
|
2021-02-17 12:52:58 +00:00
|
|
|
file_name_template: "{{.ProjectName}}_extended_{{.Version}}_{{.Os}}-{{.Arch}}"
|
2019-06-08 12:14:27 +00:00
|
|
|
replacements:
|
|
|
|
amd64: 64bit
|
|
|
|
386: 32bit
|
|
|
|
arm: ARM
|
|
|
|
arm64: ARM64
|
|
|
|
darwin: macOS
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
|
|
|
openbsd: OpenBSD
|
|
|
|
netbsd: NetBSD
|
|
|
|
freebsd: FreeBSD
|
|
|
|
dragonfly: DragonFlyBSD
|