Compare commits

..

No commits in common. "660d4bd9da39f390205b7a216ea3074854b11282" and "db14cb7a8fc60b8b2086d3dc68cc022d62c77a8a" have entirely different histories.

3 changed files with 5 additions and 7 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "autocrate"
version = "0.1.0-prealpha.2"
version = "0.1.0-prealpha.1"
edition = "2021"
publish = true
authors = ["Christoph J. Scherr <software@cscherr.de>"]
@ -30,7 +30,6 @@ serde = { version = "1.0.195", features = ["derive"] }
serde_yaml = "0.9.30"
tempfile = "3.9.0"
thiserror = "1.0.56"
tokio = { version = "1.36.0", features = ["tokio-macros", "rt-multi-thread", "macros"] }
url = { version = "2.5.0", features = ["serde"] }
[[bin]]

View file

@ -147,7 +147,7 @@ impl Debug for Config {
write!(
f,
"{}",
format_args!(
format!(
"Config {{yaml: {:?}, repo_path: {:?}}}",
self.yaml, self.path
)

View file

@ -7,14 +7,14 @@ use autocrate::{
error::*,
};
#[tokio::main]
async fn main() -> Result<()> {
fn main() -> Result<()> {
let cli = Cli::cli_parse();
let cfg = Config::load(cli.clone())?;
match cli.command {
Commands::Changelog { .. } => {
println!("{}", Changelog::build(&cfg)?);
Ok(())
}
Commands::Release { .. } => {
todo!()
@ -22,6 +22,5 @@ async fn main() -> Result<()> {
Commands::Publish { .. } => {
todo!()
}
};
Ok(())
}
}