mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-26 04:22:05 +02:00
feat: update nfpm to 2.9.2
This commit is contained in:
parent
f731173491
commit
f318be4529
2
go.mod
2
go.mod
@ -18,7 +18,7 @@ require (
|
||||
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible
|
||||
github.com/google/go-github/v39 v39.2.0
|
||||
github.com/goreleaser/fileglob v1.2.0
|
||||
github.com/goreleaser/nfpm/v2 v2.9.1
|
||||
github.com/goreleaser/nfpm/v2 v2.9.2
|
||||
github.com/imdario/mergo v0.3.12
|
||||
github.com/jarcoal/httpmock v1.0.8
|
||||
github.com/mitchellh/go-homedir v1.1.0
|
||||
|
4
go.sum
4
go.sum
@ -427,8 +427,8 @@ github.com/goreleaser/chglog v0.1.2 h1:tdzAb/ILeMnphzI9zQ7Nkq+T8R9qyXli8GydD8plF
|
||||
github.com/goreleaser/chglog v0.1.2/go.mod h1:tTZsFuSZK4epDXfjMkxzcGbrIOXprf0JFp47BjIr3B8=
|
||||
github.com/goreleaser/fileglob v1.2.0 h1:OErqbdzeg/eibfDGPHDQDN8jL5u1jNyxA5IQzNPLLoU=
|
||||
github.com/goreleaser/fileglob v1.2.0/go.mod h1:rFyb2pXaK3YdnYnSjn6lifw0h2Q6s8OfOsx6I6bXkKE=
|
||||
github.com/goreleaser/nfpm/v2 v2.9.1 h1:1TCWqgiimrqqvqXxqG+7m+BuJaWV2HDx8uXgLbO/K5c=
|
||||
github.com/goreleaser/nfpm/v2 v2.9.1/go.mod h1:Bj/ztLvdnBnEgMae0fl/bLF6By1+yFFKeL97WiS6ZJg=
|
||||
github.com/goreleaser/nfpm/v2 v2.9.2 h1:L6CnpgugnSXFuC2eYvfDiYsb6Kb4o2g9rIBxJL31hpc=
|
||||
github.com/goreleaser/nfpm/v2 v2.9.2/go.mod h1:Bj/ztLvdnBnEgMae0fl/bLF6By1+yFFKeL97WiS6ZJg=
|
||||
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
|
||||
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||
|
@ -595,7 +595,7 @@ type NFPMOverridables struct {
|
||||
Suggests []string `yaml:"suggests,omitempty"`
|
||||
Conflicts []string `yaml:"conflicts,omitempty"`
|
||||
Replaces []string `yaml:"replaces,omitempty"`
|
||||
EmptyFolders []string `yaml:"empty_folders,omitempty"`
|
||||
EmptyFolders []string `yaml:"empty_folders,omitempty"` // deprecated
|
||||
Contents files.Contents `yaml:"contents,omitempty"`
|
||||
Scripts NFPMScripts `yaml:"scripts,omitempty"`
|
||||
RPM NFPMRPM `yaml:"rpm,omitempty"`
|
||||
|
@ -120,12 +120,6 @@ nfpms:
|
||||
# Defaults to false.
|
||||
meta: true
|
||||
|
||||
# Empty folders that should be created and managed by the packager
|
||||
# implementation.
|
||||
# Default is empty.
|
||||
empty_folders:
|
||||
- /var/log/foobar
|
||||
|
||||
# Contents to add to the package.
|
||||
# GoReleaser will automatically add the binaries.
|
||||
contents:
|
||||
@ -228,8 +222,6 @@ nfpms:
|
||||
- tig
|
||||
replaces:
|
||||
- bash
|
||||
empty_folders:
|
||||
- /var/log/bar
|
||||
rpm:
|
||||
replacements:
|
||||
amd64: x86_64
|
||||
|
@ -36,6 +36,28 @@ Description.
|
||||
|
||||
-->
|
||||
|
||||
### nfpm.empty_folders
|
||||
|
||||
> since 2021-11-14 (v1.0.0)
|
||||
|
||||
nFPM empty folders is now deprecated in favor of a `dir` content type:
|
||||
|
||||
=== "Before"
|
||||
|
||||
``` yaml
|
||||
nfpms:
|
||||
- empty_folders:
|
||||
- /foo/bar
|
||||
```
|
||||
|
||||
=== "After"
|
||||
``` yaml
|
||||
nfpms:
|
||||
- contents:
|
||||
- dst: /foo/bar
|
||||
type: dir
|
||||
```
|
||||
|
||||
### godownloader
|
||||
|
||||
> since 2021-10-13
|
||||
|
Loading…
x
Reference in New Issue
Block a user