Temporarily disabled curse changelog
This commit is contained in:
parent
d6d9dfc9e4
commit
d15a91b569
1 changed files with 4 additions and 6 deletions
10
build.gradle
10
build.gradle
|
@ -121,7 +121,7 @@ task createChangelog(type: ChangelogTask) {
|
||||||
setOutput(new DelayedFile(project, 'build/libs/' + project.getName() + '-' + project.version + '-changelog.txt'));
|
setOutput(new DelayedFile(project, 'build/libs/' + project.getName() + '-' + project.version + '-changelog.txt'));
|
||||||
}
|
}
|
||||||
|
|
||||||
task createCurseChangelog {
|
/*task createCurseChangelog {
|
||||||
def env = System.getenv()
|
def env = System.getenv()
|
||||||
def jenkinsUrl = env.JENKINS_URL
|
def jenkinsUrl = env.JENKINS_URL
|
||||||
def jenkinsJob = env.JOB_NAME
|
def jenkinsJob = env.JOB_NAME
|
||||||
|
@ -139,10 +139,8 @@ task createCurseChangelog {
|
||||||
xml.changeSet.item.each { change ->
|
xml.changeSet.item.each { change ->
|
||||||
changelog += "$change.author.fullName: $change.msg" + '\n'
|
changelog += "$change.author.fullName: $change.msg" + '\n'
|
||||||
}
|
}
|
||||||
|
|
||||||
project.changelog = changelog
|
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
tasks.build.dependsOn('createChangelog')
|
tasks.build.dependsOn('createChangelog')
|
||||||
|
|
||||||
|
@ -170,11 +168,11 @@ artifacts {
|
||||||
}
|
}
|
||||||
|
|
||||||
curse {
|
curse {
|
||||||
dependsOn "createCurseChangelog"
|
//dependsOn "createCurseChangelog"
|
||||||
|
|
||||||
projectId = project.config.curse_project_id
|
projectId = project.config.curse_project_id
|
||||||
apiKey = "$System.env.curse_api_key"
|
apiKey = "$System.env.curse_api_key"
|
||||||
changelog = project.changelog
|
//changelog = project.changelog
|
||||||
releaseType = project.config.curse_release_type
|
releaseType = project.config.curse_release_type
|
||||||
|
|
||||||
additionalArtifact deobfJar
|
additionalArtifact deobfJar
|
||||||
|
|
Loading…
Reference in a new issue