mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
[ADDED] Symlink for deb/rpm packages
Since v2.7.4 and due to an update of the goreleaser tool, the server is now installed under "/usr/bin" instead of "/usr/local/bin". We keep the install in "/usr/bin" but this PR adds symlink so that "/usr/local/bin" still points to the nats-server. Resolves #3239 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
@@ -52,6 +52,10 @@ nfpms:
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
contents:
|
||||
- src: /usr/bin/nats-server
|
||||
dst: /usr/local/bin/nats-server
|
||||
type: "symlink"
|
||||
|
||||
archives:
|
||||
- name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
|
||||
|
||||
Reference in New Issue
Block a user