From edb15db8fa69f970cf64bc159e021a6761057486 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Mon, 23 Jun 2025 22:29:06 +1000 Subject: [PATCH] add classifier if not in gha --- build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index fd79baae..340e2e07 100644 --- a/build.gradle +++ b/build.gradle @@ -210,9 +210,11 @@ remapJar { delete fileTree(getDestinationDirectory().get()) } - def hash = gitCommitHash(); - if (!hash.equals("")) { - archiveClassifier.set(hash); + if (!isInGHA) { + def hash = gitCommitHash(); + if (!hash.equals("")) { + archiveClassifier.set(hash); + } } }