pare-down-functionality #7

Merged
cadey merged 8 commits from pare-down-functionality into main 2020-07-08 23:19:39 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 4397f691c9 - Show all commits

View File

@ -22,15 +22,15 @@ pub(crate) async fn run(
}
let desc = changelog::read(fname, tag.clone())?;
let cli = gitea::Client::new(common.server, common.token, crate::APP_USER_AGENT)?;
let vtag = format!("v{}", tag);
let cr = gitea::CreateRelease {
body: desc,
draft: rm.draft,
name: rm.name.or(Some(format!("Version {}", tag))).unwrap(),
prerelease: rm.pre_release,
tag_name: tag.clone(),
tag_name: vtag,
target_commitish: "HEAD".into(),
};