How can I give executable permissions to binary files within a compressed package? #5132
-
I use Go language to write programs and use Goreleaser for packaging, but after packaging, the binary files in the compressed package do not have executable permissions. |
Beta Was this translation helpful? Give feedback.
Answered by
caarlos0
Sep 17, 2024
Replies: 1 comment 5 replies
-
Generally, the bins should have exec perms if built correctly. It will also help if you can provide more context:
If it is similar enough, I also encourage you to refer to goreleaser's config and other projects using goreleaser. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
are you running from windows? if so, that's likely the problem, as goreleaser will respect the existing file permissions, and windows doesn't have executable permissions...