1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/docs/100-fpm.md

57 lines
1.3 KiB
Markdown
Raw Normal View History

2017-09-10 22:07:28 +02:00
---
title: FPM
2017-09-10 22:07:28 +02:00
---
2017-09-11 15:13:14 +02:00
GoReleaser can be wired to [fpm](https://github.com/jordansissel/fpm) to
generate `.deb`, `.rpm` and other archives. Check its
2017-09-10 22:07:28 +02:00
[wiki](https://github.com/jordansissel/fpm/wiki) for more info.
```yml
# .goreleaser.yml
fpm:
# Your app's vendor.
# Default is empty.
2017-09-10 22:07:28 +02:00
vendor: Drum Roll Inc.
# Your app's homepage.
# Default is empty.
2017-09-10 22:07:28 +02:00
homepage: https://example.com/
# Your app's maintainer (probably you).
# Default is empty.
2017-09-10 22:07:28 +02:00
maintainer: Drummer <drum-roll@example.com>
# Your app's description.
# Default is empty.
2017-09-10 22:07:28 +02:00
description: Software to create fast and easy drum rolls.
# Your app's license.
# Default is empty.
2017-09-10 22:07:28 +02:00
license: Apache 2.0
# Formats to be generated.
2017-09-10 22:07:28 +02:00
formats:
- deb
- rpm
# Packages your package depends on.
2017-09-10 22:07:28 +02:00
dependencies:
- git
- zsh
# Packages that conflict with your package.
2017-09-10 22:07:28 +02:00
conflicts:
- svn
- bash
# Override default /usr/local/bin destination for binaries
bindir: /usr/bin
# Files or directories to add to your package (beyond the binary).
# Keys are source paths to get the files from.
# Values are the destination locations of the files in the package.
2017-09-10 22:07:28 +02:00
files:
"scripts/etc/init.d/": "/etc/init.d"
```
Note that GoReleaser will not install `fpm` or any of its dependencies for you.