mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
docs: fix nfpm symlink example
closes #1982 Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
8e45550e50
commit
71c6d96da6
@ -24,7 +24,7 @@ builds:
|
||||
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
|
||||
checksum:
|
||||
name_template: '{{ .ProjectName }}_checksums.txt'
|
||||
changelog:
|
||||
changelog:dep
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
|
@ -131,12 +131,13 @@ nfpms:
|
||||
dst: /etc/foo.conf
|
||||
type: config
|
||||
|
||||
# Simple symlink
|
||||
- src: /sbin/foo # link name
|
||||
dst: /usr/local/bin/foo # real location
|
||||
# Simple symlink.
|
||||
# Corresponds to `ln -s /sbin/foo /usr/local/bin/foo`
|
||||
- src: /sbin/foo
|
||||
dst: /usr/local/bin/foo
|
||||
type: "symlink"
|
||||
|
||||
# Corresponds to %config(noreplace) if the packager is rpm, otherwise it is just a config file
|
||||
# Corresponds to `%config(noreplace)` if the packager is rpm, otherwise it is just a config file
|
||||
- src: path/to/local/bar.conf
|
||||
dst: /etc/bar.conf
|
||||
type: "config|noreplace"
|
||||
|
Loading…
Reference in New Issue
Block a user