Mercurial > public > develkit
comparison init20.gradle @ 198:9e4e8ae8f54a
correct stream name for snapshot versions
author | smith@nwoca.org |
---|---|
date | Mon, 03 Aug 2015 18:53:43 +0100 |
parents | 57edc00a90b8 |
children | 5bc8264bb979 |
comparison
equal
deleted
inserted
replaced
197:57edc00a90b8 | 198:9e4e8ae8f54a |
---|---|
331 thisProject.status = 'integration' | 331 thisProject.status = 'integration' |
332 def fixupVersion = thisProject.version - ".SNAPSHOT" | 332 def fixupVersion = thisProject.version - ".SNAPSHOT" |
333 if (gradle.branchStream == 'feature') { | 333 if (gradle.branchStream == 'feature') { |
334 fixupVersion = fixupVersion + ".SNAPSHOT" | 334 fixupVersion = fixupVersion + ".SNAPSHOT" |
335 } | 335 } |
336 if (gradle.branchStream == 'develop') { | 336 if (gradle.branchStream == 'master') { |
337 fixupVersion = fixupVersion + ".SNAPSHOT" | 337 fixupVersion = fixupVersion + ".SNAPSHOT" |
338 } | 338 } |
339 if (gradle.branchStream in ['production', 'release','hotfix']) { | 339 if (gradle.branchStream in ['production', 'release','hotfix']) { |
340 thisProject.status = 'release' | 340 thisProject.status = 'release' |
341 } | 341 } |