Deleted dead local var
@@ -128,8 +128,6 @@ public class ReleaseNeededTask extends DefaultTask {
//This way it is easier to understand how stuff works by reading the log
LOG.lifecycle(" Current branch '{}' matches '{}': {}", branch, releasableBranchRegex, releasableBranch);
- boolean notNeeded = skipEnvVariable || skippedByCommitMessage || pullRequest || !releasableBranch;
-
String message = " Release is needed: " + !releaseNotNeeded +
"\n - skip by env variable: " + skipEnvVariable +
"\n - skip by commit message: " + skippedByCommitMessage +
