Skip to content

Commit

Permalink
Remove netgo tag to fix Windows hosts file bug
Browse files Browse the repository at this point in the history
  • Loading branch information
szh committed Apr 4, 2023
1 parent cbb0d9e commit e3f14ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ builds:
# Tag 'netgo' is a Go build tag that ensures a pure Go networking stack
# in the resulting binary instead of using the default host's stack to
# ensure a fully static artifact that has no dependencies.
# However, netgo on Windows has a bug that prevents it from using the
# machine's hosts file for DNS resolution. Therefore this tag must be
# omitted until the bug is fixed. See https://github.com/golang/go/issues/57757
# and internal ticket CNJR-904 for more information.
flags:
- -tags=netgo
# - -tags=netgo
- -a
goos:
- linux
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Nothing should go in this section, please add to the latest unreleased version
(and update the corresponding date), or add a new version.

## [8.0.6] - 2023-03-24
## [8.0.6] - 2023-04-03

### Fixed
- Improved error message when using self-signed certificates
[cyberark/conjur-cli-go#119](https://github.com/cyberark/conjur-cli-go/pull/119)
- Fix double prompt in Windows
[cyberark/conjur-cli-go#120](https://github.com/cyberark/conjur-cli-go/pull/120)
- Fixed not using hosts file on Windows
[cyberark/conjur-cli-go#121](https://github.com/cyberark/conjur-cli-go/pull/121)

## [8.0.5] - 2023-03-24

Expand Down

0 comments on commit e3f14ed

Please sign in to comment.