mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-27 04:46:13 +02:00
62357a65e2
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
700 B
700 B
Usage
Command Line
To create a sample config file, run:
$ nfpm init
You can then customize it and package to the formats you want:
$ nfpm pkg --packager deb --target /tmp/
using deb packager...
created package: /tmp/foo_1.0.0_amd64.deb
$ nfpm pkg --packager rpm --target /tmp/
using rpm packager...
created package: /tmp/foo-1.0.0.x86_64.rpm
Go Library
Check the GoDocs page, as well as NFPM command line implementation and GoReleaser's usage.