[CI-SKIP] Updated publish to ignore build number of Jenkins

This commit is contained in:
OmerBenGera 2021-12-26 00:17:26 +02:00
parent 121b98eef0
commit 28baec0f65

View File

@ -9,7 +9,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.bgsoftware'
artifactId = 'WildLoadersAPI'
version = System.getenv("BUILD_NUMBER") == null ? parent.version : parent.version + "." + System.getenv("BUILD_NUMBER")
version = parent.version
from components.java
}