cli/pkg/cmd/release/shared
Mislav Marohnić 40da8f9c69 Allow retrying HTTP/2 uploads for release assets
The `Request.GetBody` func allows the retry mechanism to reopen the file
that's being uploaded as the request body in case the body of the
previous request has already started to be read.

Hopefully fixes the error:

    http2: Transport: cannot retry err [stream error: stream ID 1; REFUSED_STREAM]
    after Request.Body was written; define Request.GetBody to avoid this error

Ref. d523dce5a7/http2/transport.go (L554)
2021-03-17 15:55:22 +01:00
..
fetch.go Have FindDraftRelease be truer to its name 2020-09-03 15:35:07 +02:00
upload.go Allow retrying HTTP/2 uploads for release assets 2021-03-17 15:55:22 +01:00
upload_test.go Add tests for release create, delete, download, view 2020-09-01 18:56:30 +02:00