Skip to content

Commit

Permalink
Fix build to not barf when without a branch (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpw authored Sep 24, 2023
1 parent c8fa420 commit 33c9859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ext.sharedManifest = manifest {
'Implementation-Vendor' :'neoforged',
'Implementation-Timestamp': java.time.Instant.now().toString(),
'Git-Commit': gradleutils.gitInfo.abbreviatedId,
'Git-Branch': gradleutils.gitInfo.branch,
'Git-Branch': gradleutils.gitInfo.branch?:'NONE',
'Build-Number': "${System.getenv('BUILD_NUMBER')?:0}" ],
'cpw/mods/modlauncher/api/')
attributes(['Specification-Title': 'modlauncherserviceapi',
Expand All @@ -168,7 +168,7 @@ ext.sharedManifest = manifest {
'Implementation-Vendor' :'neoforged',
'Implementation-Timestamp': java.time.Instant.now().toString(),
'Git-Commit': gradleutils.gitInfo.abbreviatedId,
'Git-Branch': gradleutils.gitInfo.branch,
'Git-Branch': gradleutils.gitInfo.branch?:'NONE',
'Build-Number': "${System.getenv('BUILD_NUMBER')?:0}"],
'cpw/mods/modlauncher/serviceapi/')
}
Expand Down

0 comments on commit 33c9859

Please sign in to comment.