diff --git a/spring-cloud-release-tools-core/src/main/java/org/springframework/cloud/release/internal/git/GithubIssues.java b/spring-cloud-release-tools-core/src/main/java/org/springframework/cloud/release/internal/git/GithubIssues.java index b914182e..3dd29c0e 100644 --- a/spring-cloud-release-tools-core/src/main/java/org/springframework/cloud/release/internal/git/GithubIssues.java +++ b/spring-cloud-release-tools-core/src/main/java/org/springframework/cloud/release/internal/git/GithubIssues.java @@ -87,9 +87,9 @@ class GithubIssues { "You have to pass Github OAuth token for milestone closing to be operational"); // do this only for RELEASE & SR String releaseVersion = parsedVersion(); - if (!(version.isRelease() || version.isServiceRelease())) { + if (version.isSnapshot()) { log.info( - "Github issue creation will occur only for Release or Service Release versions. Your version is [{}]", + "Github issue creation will occur only for non snapshot versions. Your version is [{}]", releaseVersion); return; }