mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-03 12:03:21 -05:00
better build version management
This commit is contained in:
@@ -79,7 +79,9 @@ impl Resolve<RunBuild, (User, Update)> for State {
|
||||
let _action_guard =
|
||||
action_state.update(|state| state.building = true)?;
|
||||
|
||||
build.config.version.increment();
|
||||
if build.config.auto_increment_version {
|
||||
build.config.version.increment();
|
||||
}
|
||||
update.version = build.config.version;
|
||||
update_update(update.clone()).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user