From 5fa155a76deded7732c1e63b035a55be61f4ff24 Mon Sep 17 00:00:00 2001 From: John Tipper Date: Thu, 30 Jan 2020 11:28:43 +0000 Subject: [PATCH] Remove unnecessary logging --- .../pl/allegro/tech/build/axion/release/domain/Releaser.java | 4 ---- 1 file changed, 4 deletions(-) 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);