B0_github.ReleaseRepository releases.
val id : t -> intid r is the id of the release.
val tag_name : t -> stringtag_name r is the tag name of the release.
val body : t -> stringbody r is the description of the release.
val html_url : t -> stringhtml_url t is the issue's HTML url.
val assets_url : t -> stringassets_url t is the issue's assets url.
val pp : t B0_std.Fmt.tpp is a formatter for issues.
val pp_short : t B0_std.Fmt.tpp_short is a short formatter for issues.
val create :
B0_http.Http_client.t ->
Auth.t ->
Repo.t ->
tag_name:string ->
body:string ->
unit ->
(t, string) Stdlib.resultcreate auth repo ~tag_name ~body () creates a new release in repository repo with given tag_name and body description.
val get :
B0_http.Http_client.t ->
Auth.t ->
Repo.t ->
tag_name:string ->
unit ->
(t, string) Stdlib.resultget auth repo ~tag_name () gets the release with given tag_name in repo tag_name.
val upload_asset :
B0_http.Http_client.t ->
Auth.t ->
Repo.t ->
t ->
content_type:string ->
name:string ->
string ->
(unit, string) Stdlib.resultupload_asset auth repo r ~content_type ~name asset uploads assets content asset with file name name and content type content_type in release r of repo r.