generated from PlexSheep/rs-base
Merge branch 'devel' of https://git.cscherr.de/PlexSheep/autocrate into devel
cargo devel CI / cargo CI (push) Has been cancelled
Details
cargo devel CI / cargo CI (push) Has been cancelled
Details
This commit is contained in:
commit
e65378436b
|
@ -22,8 +22,8 @@ async fn main() -> Result<()> {
|
||||||
println!("{}", Changelog::build(&cfg)?);
|
println!("{}", Changelog::build(&cfg)?);
|
||||||
}
|
}
|
||||||
Commands::Release { .. } => {
|
Commands::Release { .. } => {
|
||||||
init_servers(&cfg).await?;
|
let apis = init_servers(&cfg).await?;
|
||||||
release(&cfg).await?;
|
release(&cfg, &mut apis).await?;
|
||||||
}
|
}
|
||||||
Commands::Publish { .. } => {
|
Commands::Publish { .. } => {
|
||||||
publish(&cfg).await?;
|
publish(&cfg).await?;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use crate::{config::Config, error::*, serverapi::ApiCollection};
|
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: git tag
|
||||||
// TODO: version bump
|
// TODO: version bump
|
||||||
// TODO: version select interactive
|
// TODO: version select interactive
|
||||||
|
|
Loading…
Reference in New Issue