forked from xjboss/KCauldronX
Add support for updating backports correctly
This commit is contained in:
@ -72,7 +72,7 @@ def gitInfo(String key) {
|
||||
gitInfoCached = [
|
||||
hash : ['git', 'log', "--format=%h", '-n', '1'].execute().text.trim(),
|
||||
fullHash: ['git', 'log', "--format=%H", '-n', '1'].execute().text.trim(),
|
||||
branch : ['git', 'symbolic-ref', '--short', 'HEAD'].execute().text.trim(),
|
||||
branch : System.getenv("CI_BUILD_REF_NAME") ?: ['git', 'symbolic-ref', '--short', 'HEAD'].execute().text.trim(),
|
||||
message : ['git', 'log', "--format=%B", '-n', '1'].execute().text.trim()
|
||||
]
|
||||
} else {
|
||||
@ -103,8 +103,9 @@ tasks.packageUniversal {
|
||||
'KCauldron-Git-Branch' : gitInfo('branch'),
|
||||
'KCauldron-Git-Hash' : gitInfo('fullHash'),
|
||||
'KCauldron-Version' : project.version,
|
||||
'KCauldron-Channel' : project.name,
|
||||
'Implementation-Vendor' : 'Prototik',
|
||||
'Implementation-Title' : 'KCauldron',
|
||||
'Implementation-Title' : project.name,
|
||||
'Implementation-Version': project.version,
|
||||
'Forge-Version' : '10.13.3.1420',
|
||||
'Specification-Vendor' : 'Bukkit Team',
|
||||
|
Reference in New Issue
Block a user