comparison init20.gradle @ 226:ea011be895bd

USASR-2244: Fix call to .text
author Christopher Springer <springer@nwoca.org>
date Thu, 07 Jul 2016 16:50:39 +0100
parents 4015b287c69f
children d84d60b29395
comparison
equal deleted inserted replaced
225:4015b287c69f 226:ea011be895bd
796 digest.update(s.bytes); 796 digest.update(s.bytes);
797 new BigInteger(1, digest.digest()).toString(16).padLeft(32, '0') 797 new BigInteger(1, digest.digest()).toString(16).padLeft(32, '0')
798 } 798 }
799 799
800 private findSnapshotVersion() { 800 private findSnapshotVersion() {
801 println "hg pull".execute() 801 println "hg pull".execute().text
802 def versions = "hg branches --closed".execute().text.split('\n').findAll { 802 def versions = "hg branches --closed".execute().text.split('\n').findAll {
803 it.startsWith( 'release') || it.startsWith( 'hotfix') 803 it.startsWith( 'release') || it.startsWith( 'hotfix')
804 }.collect { 804 }.collect {
805 it.replaceAll('\\s+',' ').split(' ')[0].split('/')[1] - 'v' 805 it.replaceAll('\\s+',' ').split(' ')[0].split('/')[1] - 'v'
806 }.collect { 806 }.collect {