mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
Fix dev buildscript
This commit is contained in:
1 parent
e5b72a2805
commit
1f253247f5
1 file changed
+1
-1
+1
-1
@@ -26,7 +26,7 @@ import org.ajoberstar.grgit.Grgit
|
||||
def repo = Grgit.open(project.file('.'))
|
||||
project.ext.gitHash = repo.log().find().abbreviatedId
|
||||
|
||||
boolean dev = System.getenv('chisel_dev') != null && System.getenv('chisel_dev').equals('TRUE')
|
||||
boolean dev = project.hasProperty('chisel_dev') && project.chisel_dev.equalsIgnoreCase('true')
|
||||
|
||||
ext.buildnumber = 0
|
||||
project.buildnumber = !dev && System.getenv('BUILD_NUMBER') != null ? System.getenv('BUILD_NUMBER') : project.ext.gitHash
|
||||
|
||||
Reference in new issue
Block a user