Skip to content

Commit

Permalink
Fix build publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintNinja committed May 9, 2024
1 parent 70b4ebd commit f44b597
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ group = 'net.minecraftforge'
archivesBaseName = 'mixins'
version = buildVersion + "+mixin." + upstreamMixinVersion

println "Version: $version"

def ENV = System.getenv()
//if (!ENV.CI) {
Expand Down Expand Up @@ -555,6 +556,10 @@ publishing {
maven {
name = 'Forge'
url = 'https://maven.minecraftforge.net'
credentials {
username = ENV.MAVEN_USER ?: ''
password = ENV.MAVEN_PASSWORD ?: ''
}
}

if (ENV.MAVEN_URL) {
Expand Down

0 comments on commit f44b597

Please sign in to comment.