Fix Git reset for Maven upgrade command.

This commit is contained in:
Mark Paluch
2024-11-07 10:49:21 +01:00
parent 8f4ec8d55c
commit 10b25ee74b
2 changed files with 2 additions and 2 deletions

View File

@@ -93,6 +93,8 @@ public class InfrastructureCommands extends TimedCommand {
logger.log(iteration, "Applying Maven wrapper upgrades to Spring Data…");
git.prepare(iteration);
infra.upgradeMavenVersion(iteration);
}

View File

@@ -135,8 +135,6 @@ public class InfrastructureOperations extends TimedCommand {
throw new IllegalStateException("No version to upgrade found!");
}
git.checkout(iteration.getTrain(), false);
List<Project> projectsToUpgrade = dependencies
.getProjectsToUpgradeMavenWrapper(dependencyVersions.get(Dependencies.MAVEN), iteration);