changeset 302:e93dd94dd831

more printlns
author Marc Davis <davis@ssdt-ohio.org>
date Wed, 01 Feb 2023 08:22:36 -0500
parents 74d939ce70d5
children bd44c63562fc
files init40-git.gradle
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/init40-git.gradle	Wed Feb 01 08:12:46 2023 -0500
+++ b/init40-git.gradle	Wed Feb 01 08:22:36 2023 -0500
@@ -805,10 +805,13 @@
             def repositoryUrl = System.getenv('bamboo_planRepository_repositoryUrl')
             println "Repo URL : ${repositoryUrl}"
             if (repositoryUrl) {
+                println "pull from git repo - ${repositoryUrl}"
                 println "git pull $repositoryUrl".execute().text
             }
+            println "run git tags"
             println "git tag".execute().text
             def versions = "git tag".execute().text.split("\n")
+                    .filter { it != null || it != "" }
                     .collect { it.replace("v", "") }
                     .collect { new Version(*it.split('\\.')*.toInteger()) }
                     .sort { v1, v2 -> v2 <=> v1 }