Compare commits

...

2 Commits

Author SHA1 Message Date
cuddle-please
0a2d1fe638 chore(release): 0.6.0
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2024-06-28 17:32:26 +00:00
c054beab4d
feat: update depsØ
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-06-28 19:29:27 +02:00
6 changed files with 403 additions and 297 deletions

View File

@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.6.0] - 2024-06-28
### Added
- update depsØ
- update
## [0.5.0] - 2024-04-09
### Added

649
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -36,4 +36,4 @@ tracing-test = "0.2"
pretty_assertions = "1.4"
[workspace.package]
version = "0.5.0"
version = "0.6.0"

View File

@ -91,26 +91,27 @@ impl Command {
}
pub fn execute(self, current_dir: Option<&Path>) -> anyhow::Result<()> {
match &self.commands {
Some(Commands::Release {}) => {
if let Some(c) = &self.commands {
match c {
Commands::Release {} => {
let (config, git_client, gitea_client, actions) = self.get_deps(current_dir)?;
ReleaseCommandHandler::new(self.ui, config, git_client, gitea_client, actions)
.execute(self.global.dry_run)?;
}
Some(Commands::Config { command }) => {
Commands::Config { command } => {
let (config, _, _, _) = self.get_deps(current_dir)?;
ConfigCommandHandler::new(self.ui, config).execute(command)?;
}
Some(Commands::Gitea { command }) => {
Commands::Gitea { command } => {
let (config, _, gitea_client, _) = self.get_deps(current_dir)?;
GiteaCommandHandler::new(self.ui, config, gitea_client)
.execute(command, self.global.token.expect("token to be set").deref())?;
}
Some(Commands::Doctor {}) => {
Commands::Doctor {} => {
DoctorCommandHandler::new(self.ui).execute()?;
}
None => {}
}
}
Ok(())

View File

@ -77,6 +77,8 @@ impl ChangeLogBuilder {
commit_id: None,
timestamp,
previous: None,
message: None,
repository: None,
},
config: self.config,
release_link: self.release_link,
@ -180,6 +182,7 @@ fn default_commit_parsers() -> Vec<CommitParser> {
field: None,
pattern: None,
sha: None,
footer: None,
}
}
@ -201,6 +204,7 @@ fn default_commit_parsers() -> Vec<CommitParser> {
field: None,
pattern: None,
sha: None,
footer: None,
},
]
}

View File

@ -24,8 +24,10 @@ components:
debian:
dev:
- jq
- git
release:
- jq
- git
scripts:
"mkdocs:new":