mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
docs: explain nfpm scripts
This commit is contained in:
parent
d3fe7c3f33
commit
6d791ed721
@ -103,6 +103,15 @@ nfpm:
|
||||
config_files:
|
||||
"tmp/app_generated.conf": "/etc/app.conf"
|
||||
"conf/*.conf": "/etc/foo/"
|
||||
|
||||
# Scripts to execute during the installation of the package.
|
||||
# Keys are the possible targets during the installation process
|
||||
# Values are the paths to the scripts which will be executed
|
||||
scripts:
|
||||
preinstall: "scripts/preinstall.sh"
|
||||
postinstall: "scripts/postinstall.sh"
|
||||
preremove: "scripts/preremove.sh"
|
||||
postremove: "scripts/postremove.sh"
|
||||
```
|
||||
|
||||
Note that GoReleaser will not install `rpmbuild` or any dependencies for you.
|
||||
|
Loading…
Reference in New Issue
Block a user