add classifier if not in gha
This commit is contained in:
@@ -210,9 +210,11 @@ remapJar {
|
||||
delete fileTree(getDestinationDirectory().get())
|
||||
}
|
||||
|
||||
def hash = gitCommitHash();
|
||||
if (!hash.equals("<UnknownCommit>")) {
|
||||
archiveClassifier.set(hash);
|
||||
if (!isInGHA) {
|
||||
def hash = gitCommitHash();
|
||||
if (!hash.equals("<UnknownCommit>")) {
|
||||
archiveClassifier.set(hash);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user