diff --git a/src/main/java/pl/allegro/tech/build/axion/release/domain/Releaser.java b/src/main/java/pl/allegro/tech/build/axion/release/domain/Releaser.java index 1592a09d..27954f4b 100644 --- a/src/main/java/pl/allegro/tech/build/axion/release/domain/Releaser.java +++ b/src/main/java/pl/allegro/tech/build/axion/release/domain/Releaser.java @@ -4,7 +4,6 @@ import pl.allegro.tech.build.axion.release.domain.hooks.ReleaseHooksRunner; import pl.allegro.tech.build.axion.release.domain.logging.ReleaseLogger; import pl.allegro.tech.build.axion.release.domain.properties.Properties; -import pl.allegro.tech.build.axion.release.domain.scm.ScmPosition; import pl.allegro.tech.build.axion.release.domain.scm.ScmPushResult; import pl.allegro.tech.build.axion.release.domain.scm.ScmService; @@ -37,11 +36,8 @@ public Optional release(String projectRootRelativePath, Properties prope logger.quiet("Creating tag: " + tagName); // if snapshot then release normally, otherwise release tag on last commit that is relevant to this project if (versionContext.isSnapshot()) { - System.out.println("isSnapshot"); repository.tag(tagName); } else { - System.out.println("not isSnapshot"); - repository.tagOnCommit(repository.positionOfLastChangeIn(projectRootRelativePath, properties.getVersion().getMonorepoProperties().getDirsToExclude() ).getRevision(), tagName);