1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-11-06 09:09:29 +02:00

feat(nfpm): compression, fields, and predends on debs (#4632)

refs #4630

<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->


<!-- If applied, this commit will... -->

...

<!-- Why is this change being made? -->

...

<!-- # Provide links to any relevant tickets, URLs or other resources
-->

...

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-02-19 08:51:36 -03:00
committed by GitHub
parent d9e9e82ca7
commit 42d2db2021
3 changed files with 30 additions and 6 deletions

View File

@@ -341,7 +341,9 @@ func create(ctx *context.Context, fpm config.NFPM, format string, artifacts []*a
PostRemove: overridden.Scripts.PostRemove,
},
Deb: nfpm.Deb{
// TODO: Compression, Fields
Compression: overridden.Deb.Compression,
Fields: overridden.Deb.Fields,
Predepends: overridden.Deb.Predepends,
Scripts: nfpm.DebScripts{
Rules: overridden.Deb.Scripts.Rules,
Templates: overridden.Deb.Scripts.Templates,