add classifier if not in gha

This commit is contained in:
mcrcortex
2025-06-23 22:29:06 +10:00
parent 883f140b41
commit edb15db8fa

View File

@@ -210,9 +210,11 @@ remapJar {
delete fileTree(getDestinationDirectory().get()) delete fileTree(getDestinationDirectory().get())
} }
def hash = gitCommitHash(); if (!isInGHA) {
if (!hash.equals("<UnknownCommit>")) { def hash = gitCommitHash();
archiveClassifier.set(hash); if (!hash.equals("<UnknownCommit>")) {
archiveClassifier.set(hash);
}
} }
} }