use crate::{config::Config, error::*, serverapi::ApiCollection};
pub struct ReleaseContext {
pub draft: bool,
pub prerelease: bool,
pub username: String,
pub repository: String,
pub text: String,
pub tag: String,
pub commit_sig: String,
}
pub async fn release(cfg: &Config, _apis: &mut ApiCollection) -> Result<()> {
tag(cfg).await?;
todo!();
Ok(())
}
async fn tag(_cfg: &Config) -> Result<()> {
todo!()
}