# HG changeset patch # User marc_davis # Date 1685467618 14400 # Node ID 21b015e926ffc9a0665fc3b713a14636b794c9f9 # Parent 0befe249fc6fa435fd2bf6cd60489b573029879c testing diff -r 0befe249fc6f -r 21b015e926ff init70-github.gradle --- a/init70-github.gradle Tue May 30 13:07:44 2023 -0400 +++ b/init70-github.gradle Tue May 30 13:26:58 2023 -0400 @@ -35,10 +35,10 @@ hostname = 'unknown' } -System.getenv().each { println it } - +//Determine if the build is a CI build. gradle.ext.bambooBuild = System.getenv().any { - it.key.toLowerCase().contains('ci') + it.key.toLowerCase().contains('ci') || + it.key.toLowerCase().contains('github') } gradle.ext.bambooLocalBuild = false @@ -803,6 +803,11 @@ .collect { new Version(*it.split('\\.')*.toInteger()) } def results = (branches + versions).sort { v1, v2 -> v2 <=> v1 } + + results.each { + println it + } + if (results.isEmpty()) { return new Version().nextSnapshot() } else {