Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'd like to use the nfpm symlinks feature #1861

Closed
rgroleau opened this issue Oct 18, 2020 · 5 comments
Closed

I'd like to use the nfpm symlinks feature #1861

rgroleau opened this issue Oct 18, 2020 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@rgroleau
Copy link

rgroleau commented Oct 18, 2020

Although nfpm (for deb) supports the symlinks: option, I get the error:
error=yaml: unmarshal errors: field symlinks not found in type config.NFPM
whenever trying to add symlinks: statements,
most likely because it is missing from goreleaser config?

This feature is quite nice for systemd service files.
Now I will have to code a post installation script just to maintain that link...
But this seem like a rather trivial change (I think, but then again I am often wrong, so sorry in advance).
Thanks!

@rgroleau rgroleau added the enhancement New feature or request label Oct 18, 2020
@caarlos0
Copy link
Member

duplicate of #1829

@caarlos0 caarlos0 added duplicate This issue or pull request already exists and removed enhancement New feature or request labels Oct 23, 2020
@SKalt
Copy link

SKalt commented Nov 15, 2020

If possible, I'd like to reopen this issue since issue #1829 was closed with PR #1849, which includes support for packager-specific nfpm configuration options but doesn't include support for nfpm's symlink option. As of goreleaser version 0.147.1, I'm still getting

   ⨯ release failed after 0.00s error=yaml: unmarshal errors:
  line 38: field symlinks not found in type config.NFPM

Let me know if I should open a new issue.

@caarlos0 caarlos0 reopened this Nov 16, 2020
@caarlos0
Copy link
Member

yeah seems like symlinks weren't ported

@hellt
Copy link
Contributor

hellt commented Dec 2, 2020

can confirm that with 0.149.0 the symlink feature works

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 2021
abemedia pushed a commit to abemedia/goreleaser that referenced this issue Jul 30, 2021
closes goreleaser#1861

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants