Groovy requires double quotes for format strings

This commit is contained in:
Adubbz 2019-05-04 17:51:02 +10:00
parent 1b4b8cffe0
commit d58be03152
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -36,7 +36,7 @@ pipeline {
}
}
steps {
writeChangelog(currentBuild, 'build/BiomesOPlenty-' + env.MYVERSION + '-changelog.txt')
writeChangelog(currentBuild, "build/BiomesOPlenty-${env.MYVERSION}-changelog.txt")
}
}
stage('publish') {

View File

@ -84,7 +84,7 @@ task apiJar(type: Jar) {
classifier = 'api'
}
def changelog_file = rootProject.file('build/BiomesOPlenty-${version}-changelog.txt')
def changelog_file = rootProject.file("build/BiomesOPlenty-${version}-changelog.txt")
curseforge {
if (project.hasProperty('curseApiKey')) {