mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
releaser: Fix goreleaser config
* fix: goreleaser nfpm artifact names * fix: replacements * fix: make both goreleaser yaml files more similar Closes #5022
This commit is contained in:
parent
e5052f4e09
commit
20148345aa
2 changed files with 18 additions and 4 deletions
|
@ -47,6 +47,7 @@ nfpm:
|
||||||
maintainer: "Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>"
|
maintainer: "Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>"
|
||||||
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
|
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
|
||||||
license: "Apache 2.0"
|
license: "Apache 2.0"
|
||||||
|
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
|
||||||
replacements:
|
replacements:
|
||||||
amd64: 64bit
|
amd64: 64bit
|
||||||
386: 32bit
|
386: 32bit
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
project_name: hugo
|
||||||
build:
|
build:
|
||||||
main: main.go
|
main: main.go
|
||||||
binary: hugo
|
binary: hugo
|
||||||
|
@ -21,21 +22,33 @@ build:
|
||||||
- goos: openbsd
|
- goos: openbsd
|
||||||
goarch: arm
|
goarch: arm
|
||||||
goarm: 6
|
goarm: 6
|
||||||
|
nfpm:
|
||||||
fpm:
|
|
||||||
formats:
|
formats:
|
||||||
- deb
|
- deb
|
||||||
vendor: "gohugo.io"
|
vendor: "gohugo.io"
|
||||||
homepage: "https://gohugo.io/"
|
homepage: "https://gohugo.io/"
|
||||||
maintainer: "Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>"
|
maintainer: "Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>"
|
||||||
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
|
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
|
||||||
license: "Apache 2.0"
|
license: "Apache 2.0"
|
||||||
|
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
|
||||||
archive:
|
archive:
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
name_template: "{{.Binary}}_{{.Version}}_{{.Os}}-{{.Arch}}"
|
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
|
||||||
replacements:
|
replacements:
|
||||||
amd64: 64bit
|
amd64: 64bit
|
||||||
386: 32bit
|
386: 32bit
|
||||||
|
|
Loading…
Reference in a new issue