Merge branch 'devel' of https://git.cscherr.de/PlexSheep/autocrate into devel
cargo devel CI / cargo CI (push) Has been cancelled Details

This commit is contained in:
Christoph J. Scherr 2024-02-16 20:03:20 +01:00
commit e65378436b
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
2 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@ async fn main() -> Result<()> {
println!("{}", Changelog::build(&cfg)?);
}
Commands::Release { .. } => {
init_servers(&cfg).await?;
release(&cfg).await?;
let apis = init_servers(&cfg).await?;
release(&cfg, &mut apis).await?;
}
Commands::Publish { .. } => {
publish(&cfg).await?;

View File

@ -1,6 +1,6 @@
use crate::{config::Config, error::*, serverapi::ApiCollection};
pub async fn release(cfg: &Config, apis: ApiCollection) -> Result<()> {
pub async fn release(cfg: &Config, apis: &mut ApiCollection) -> Result<()> {
// TODO: git tag
// TODO: version bump
// TODO: version select interactive