package b0
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.5.tbz
sha512=00a6868b4dfa34565d0141b335622a81a0e8d5b9e3c6dfad025dabfa3df2db2a1302b492953bbbce30c3a4406c324fcec25250a00b38f6d18a69e15605e3b07e
doc/b0_b00_kit/B00_github/Release/index.html
Module B00_github.ReleaseSource
Repository releases.
Releases
The type for releases.
pp is a formatter for issues.
pp_short is a short formatter for issues.
Requests
Source
val create :
B00_http.Httpr.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.
Source
val get :
B00_http.Httpr.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.
Source
val upload_asset :
B00_http.Httpr.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.