Closed wbrefvem closed 1 year ago
Locally, I can specify the following hook:
build: hooks: post: - chown <uid>:<gid> {{ .Path }}
As expected, GoReleaser runs the following:
chown <uid>:<gid> /path/to/my/binary
However, in the GitHub action, using the same GoReleaser version (1.16.0), the .Path variable does not come through, and GoReleaser runs:
.Path
chown <uid>:<gid>
And so the command fails.
Please share a reproducible of the issue. Running through actions should be no different than locally for that particular option.
closing due to lack of activity
Locally, I can specify the following hook:
As expected, GoReleaser runs the following:
However, in the GitHub action, using the same GoReleaser version (1.16.0), the
.Path
variable does not come through, and GoReleaser runs:And so the command fails.