Skip to main content

upload_to_release

Function upload_to_release 

Source
pub fn upload_to_release(
    token: &str,
    repo: &Repo,
    id: u64,
    tag: &str,
    tarball: &Path,
) -> Result<String>
Expand description

upload_release_asset to the Release id of tag, which this run opened or found, so the upload never looks the Release up by its tag again: two drafts can share a tag name.

ยงErrors

Returns the errors of upload_release_asset, with the Release read by its id.