Fix use of relative paths for changelog
This commit is contained in:
parent
e94f1481ae
commit
7d9f110f27
|
|
@ -50,8 +50,8 @@ tasks.register('generateChangelog', se.bjurr.gitchangelog.plugin.gradle.GitChang
|
||||||
|
|
||||||
fromRef = theVersionRef
|
fromRef = theVersionRef
|
||||||
|
|
||||||
file = new File("CHANGELOG.md");
|
file = new File("${rootDir}/CHANGELOG.md");
|
||||||
templateContent = new File('gradle/changelog.mustache').getText('UTF-8').replace("[[modernFixVersionRef]]", theVersionRef);
|
templateContent = new File("${rootDir}/gradle/changelog.mustache").getText('UTF-8').replace("[[modernFixVersionRef]]", theVersionRef);
|
||||||
toCommit = "HEAD";
|
toCommit = "HEAD";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ curseforge {
|
||||||
apiKey = System.getenv("CURSEFORGE_TOKEN")
|
apiKey = System.getenv("CURSEFORGE_TOKEN")
|
||||||
project {
|
project {
|
||||||
id = "790626"
|
id = "790626"
|
||||||
changelog = file('../CHANGELOG.md')
|
changelog = file("${rootDir}/CHANGELOG.md")
|
||||||
changelogType = "markdown"
|
changelogType = "markdown"
|
||||||
releaseType = isBeta ? "beta" : "release"
|
releaseType = isBeta ? "beta" : "release"
|
||||||
addGameVersion project.name.capitalize()
|
addGameVersion project.name.capitalize()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user