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())
}
def hash = gitCommitHash();
if (!hash.equals("<UnknownCommit>")) {
archiveClassifier.set(hash);
if (!isInGHA) {
def hash = gitCommitHash();
if (!hash.equals("<UnknownCommit>")) {
archiveClassifier.set(hash);
}
}
}