diff init40-git.gradle @ 305:debf64aa7efc

more printlns
author Marc Davis <davis@ssdt-ohio.org>
date Wed, 01 Feb 2023 08:38:31 -0500
parents 063d6b2cc5af
children 412d4bc7a2c4
line wrap: on
line diff
--- a/init40-git.gradle	Wed Feb 01 08:29:33 2023 -0500
+++ b/init40-git.gradle	Wed Feb 01 08:38:31 2023 -0500
@@ -811,7 +811,9 @@
                 println "git branch".execute().text
             }
             println "run git tags"
-            println "git tag".execute().text
+            println "git fetch --tags origin".execute().text
+            println "run git describe --tags --abbrev=0"
+            println "git describe --tags --abbrev=0".execute().text
             def versions = "git tag".execute().text.split("\n")
                     .findAll { it != null || it != "" }
                     .collect { it.replace("v", "") }