Compare commits

...

2 Commits

Author SHA1 Message Date
cuddle-please
00524783d1 chore(release): 0.4.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-12-22 11:25:35 +00:00
2d48b523c3 fix: release action like main and pr
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-12-22 12:24:27 +01:00
3 changed files with 25 additions and 3 deletions

View File

@ -6,6 +6,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.4.0] - 2024-12-22
### Added
- remove deps
- remove ci
### Fixed
- release action like main and pr
- *(deps)* update rust crate chrono to v0.4.39
- *(deps)* update rust crate tracing to v0.1.41
### Other
- *(deps)* update rust crate serde_json to v1.0.134
- *(deps)* update rust crate serde to v1.0.216
- *(deps)* update rust crate clap to v4.5.23
- *(deps)* update all dependencies
- *(deps)* update rust crate serde_json to v1.0.133
## [0.3.0] - 2024-11-16
### Added

View File

@ -3,7 +3,7 @@ members = ["crates/*", "examples/*"]
resolver = "2"
[workspace.package]
version = "0.3.0"
version = "0.4.0"
edition = "2021"
license = "MIT"
authors = ["kjuulh <contact@kjuulh.io>"]

View File

@ -63,8 +63,12 @@ impl CuddleCI {
self
}
pub fn with_release(&mut self, release: Box<dyn ReleaseAction + Send + Sync>) -> &mut Self {
self.release_action.push(release);
pub fn with_release<T>(&mut self, release: &T) -> &mut Self
where
T: ReleaseAction + Send + Sync + 'static,
T: ToOwned<Owned = T>,
{
self.release_action.push(Box::new(release.to_owned()));
self
}