3 Commits

Author SHA1 Message Date
0f30aaadf5 chore(release): v0.3.4 (#57)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.3.4

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/gitnow/pulls/57
2025-01-08 22:55:40 +01:00
84941de931 fix: use correct post clone command
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-01-08 22:53:22 +01:00
aa1ef7041e fix: tests for config
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-01-08 22:49:13 +01:00
3 changed files with 7 additions and 1 deletions

View File

@@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- add ability to specify custom command - add ability to specify custom command
### Fixed
- use correct post clone command
- tests for config
### Other ### Other
- add ability to specify multiple commands - add ability to specify multiple commands

View File

@@ -114,7 +114,7 @@ impl RootCommand {
self.app self.app
.custom_command() .custom_command()
.execute_post_update_command(&project_path) .execute_post_clone_command(&project_path)
.await?; .await?;
} }
} else { } else {

View File

@@ -398,6 +398,7 @@ mod test {
directory: PathBuf::from("git").into() directory: PathBuf::from("git").into()
}, },
post_update_command: None, post_update_command: None,
post_clone_command: None
} }
}, },
config config
@@ -424,6 +425,7 @@ mod test {
cache: Cache::default(), cache: Cache::default(),
projects: Projects::default(), projects: Projects::default(),
post_update_command: None, post_update_command: None,
post_clone_command: None
} }
}, },
config config