changeset 344:0bef709263cd

add println for debugging
author Marc Davis <marc.davis@mcoecn.org>
date Wed, 14 Jun 2023 14:38:11 -0400
parents 54614542f0f7
children 172495bee8a1
files init50-git.gradle
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/init50-git.gradle	Wed Jun 14 14:32:05 2023 -0400
+++ b/init50-git.gradle	Wed Jun 14 14:38:11 2023 -0400
@@ -810,7 +810,10 @@
                     .sort { v1, v2 -> v2 <=> v1 }
 
             def branches = "git branch --remote".execute().text.split("\n")
-                    .findAll { it.contains('release') || it.contains('hotfix') }
+                    .findAll {
+                        println "Found branch ($it)"
+                        it.contains('release') || it.contains('hotfix')
+                    }
                     .collect { it.replaceAll('\\s+', ' ').split('/').last() - 'v' }
                     .collect { new Version(*it.split('\\.')*.toInteger()) }