You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/release/dist
Andrew Lytvynov ce5909dafc
release/dist: remove extra Close on a signed file (#9094)
We pass the file as an io.Reader to http.Post under the hood as request
body. Post, helpfully, detects that the body is an io.Closer and closes
it. So when we try to explicitly close it again, we get "file already
closed" error.

The Close there is not load-bearing, we have a defer for it anyway.
Remove the explicit close and error check.

Updates #cleanup

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
1 year ago
..
cli cmd/dist,release/dist: add distsign signing hooks (#9070) 1 year ago
synology cmd/dist,release/dist: add distsign signing hooks (#9070) 1 year ago
unixpkgs cmd/dist,release/dist: add distsign signing hooks (#9070) 1 year ago
dist.go release/dist: remove extra Close on a signed file (#9094) 1 year ago
memoize.go release/dist: add forgotten license headers 2 years ago