Mercurial > public > develkit
comparison init40-git.gradle @ 309:b80dc2412882
more printlns
author | Marc Davis <davis@ssdt-ohio.org> |
---|---|
date | Wed, 01 Feb 2023 08:54:08 -0500 |
parents | 410e320122bf |
children | 7bf282e58ce7 |
comparison
equal
deleted
inserted
replaced
308:410e320122bf | 309:b80dc2412882 |
---|---|
811 println "git branch".execute().text | 811 println "git branch".execute().text |
812 println "checkout main" | 812 println "checkout main" |
813 println "git checkout main".execute().text | 813 println "git checkout main".execute().text |
814 } | 814 } |
815 println "run git tags" | 815 println "run git tags" |
816 println "git fetch --tags --all".execute().text | 816 println "git fetch --tags --all --verbose".execute().text |
817 println "run git describe --tags --abbrev=0" | 817 println "run git describe --tags --abbrev=0" |
818 println "git describe --tags --abbrev=0".execute().text | 818 println "git describe --tags --abbrev=0".execute().text |
819 def versions = "git tag".execute().text.split("\n") | 819 def versions = "git tag".execute().text.split("\n") |
820 .findAll { it != null || it != "" } | 820 .findAll { it != null || it != "" } |
821 .collect { it.replace("v", "") } | 821 .collect { it.replace("v", "") } |