Skip to main content

read_release_for

Function read_release_for 

Source
pub fn read_release_for(
    token: &str,
    repo: &Repo,
    tag: &str,
    name: &str,
    head: &str,
    list: &ReleaseList,
) -> Result<ExistingRelease>
Expand description

Like read_release, also matching an untagged draft Release (untagged-*) whose title equals name so reruns reuse or replace drafts whose tag GitHub cleared.

ยงErrors

Returns an error under the same conditions as read_release.