This commit is contained in:
Christoph J. Scherr 2024-02-16 20:01:14 +01:00
commit 1c965da645
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
4 changed files with 8 additions and 5 deletions

View File

@ -21,6 +21,7 @@ keywords = [
[dependencies] [dependencies]
anyhow = "1.0.79" anyhow = "1.0.79"
async-trait = "0.1.77"
cargo = "0.76.0" cargo = "0.76.0"
clap = { version = "4.4.18", features = ["derive", "help"] } clap = { version = "4.4.18", features = ["derive", "help"] }
clap-verbosity-flag = "2.1.2" clap-verbosity-flag = "2.1.2"

View File

@ -1,6 +1,6 @@
pub mod changelog; pub mod changelog;
pub mod publish;
pub mod serverapi;
pub mod release;
pub mod config; pub mod config;
pub mod error; pub mod error;
pub mod publish;
pub mod release;
pub mod serverapi;

View File

@ -8,6 +8,8 @@ use autocrate::{
serverapi::init_servers, serverapi::init_servers,
publish::publish, publish::publish,
error::*, error::*,
publish::publish,
release::release,
}; };
#[tokio::main] #[tokio::main]

View File

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