https://golang.org/pkg/os/user/ states:
_"The os/user package has two internal implementations of resolving user and group ids to names.
One is written in pure Go and parses /etc/passwd and /etc/group.
The other is cgo-based and relies on the standard C library (libc) routines such as getpwuid_r and getgrnamr.
When cgo is available, cgo-based (libc-backed) code is used by default.
This can be overridden by using osusergo build tag, which enforces the pure Go implementation."
Since we disabled cgo (CGO_ENABLED=0) we should specify this build tag to force the native go backend for resolving users.
bumps the goreleaser version to the latest available release (v0.169.0)
introduces .tool-versions to instruct asdf on which version of goreleaser to use for this project
What does this PR do:
attempts resolving https://github.com/pusher/cli/issues/44
https://golang.org/pkg/os/user/ states: _"The
os/user
package has two internal implementations of resolving user and group ids to names. One is written in pure Go and parses /etc/passwd and /etc/group. The other is cgo-based and relies on the standard C library (libc) routines such as getpwuid_r and getgrnamr. When cgo is available, cgo-based (libc-backed) code is used by default. This can be overridden by using osusergo build tag, which enforces the pure Go implementation."Since we disabled cgo (
CGO_ENABLED=0
) we should specify this build tag to force the native go backend for resolving users.goreleaser
version to the latest available release (v0.169.0
).tool-versions
to instructasdf
on which version ofgoreleaser
to use for this project