mirror of
				https://github.com/GayPizzaSpecifications/concrete.git
				synced 2025-11-04 02:19:39 +00:00 
			
		
		
		
	Support CONCRETE_BUILD_NUMBER for build number in version.
This commit is contained in:
		@ -12,6 +12,8 @@ open class ConcreteBasePlugin : Plugin<Project> {
 | 
			
		||||
  override fun apply(project: Project) {
 | 
			
		||||
    val versionWithBuild = if (System.getenv("CI_PIPELINE_IID") != null) {
 | 
			
		||||
      project.rootProject.version.toString() + ".${System.getenv("CI_PIPELINE_IID")}"
 | 
			
		||||
    } else if (System.getenv("CONCRETE_BUILD_NUMBER") != null) {
 | 
			
		||||
      project.rootProject.version.toString() + ".${System.getenv("CONCRETE_BUILD_NUMBER")}"
 | 
			
		||||
    } else {
 | 
			
		||||
      "DEV"
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user