cli/pkg/cmd/release
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
..
create Merge pull request #3023 from cli/cancel-error-status 2021-03-04 13:45:11 +01:00
delete Exit with status code "2" on user cancellation errors 2021-03-02 13:48:44 +01:00
download Allow specifying multiple patterns in release download 2020-09-09 17:36:49 +02:00
list Ensure that we don't reuse the same deserialization struct over pagination iterations 2020-10-14 15:38:21 +02:00
shared Allow retrying HTTP/2 uploads for release assets 2021-03-17 15:55:22 +01:00
upload Add docs to release create/upload 2020-09-09 17:36:25 +02:00
view Render links as absolute URLs in repo view (#2363) 2020-11-11 13:13:19 +01:00
release.go Add release delete 2020-08-28 17:41:00 +02:00