Skip to content

Commit

Permalink
Fixed build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal-Spider committed Oct 10, 2022
1 parent c245476 commit 0f95833
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ tasks.withType(JavaCompile).configureEach {
it.options.release = 17
}

def changelog = "See [Changelog](https://github.com/${github_user}/${modid_kebab}/blob/master/CHANGELOG.md#${minecraft_version.replaceAll('\\.', '')}-${mod_version.replaceAll('\\.', '')}---${new Date().format("yyyyMMdd")})."
def body_changelog = "See [Changelog](https://github.com/${github_user}/${modid_kebab}/blob/master/CHANGELOG.md#${minecraft_version.replaceAll('\\.', '')}-${mod_version.replaceAll('\\.', '')}---${new Date().format("yyyyMMdd")})."

file("../api-keys.properties").withReader {
Properties props = new Properties()
Expand All @@ -144,7 +144,7 @@ curseforge {
project {
id = "${curseforge_id}"
changelogType = 'markdown'
changelog = changelog
changelog = body_changelog
releaseType = 'release'
addGameVersion "${loader}"
addGameVersion "${minecraft_version}"
Expand All @@ -166,7 +166,7 @@ githubRelease {
targetCommitish "${minecraft_version}"
releaseName "v${minecraft_version}-${mod_version}"
generateReleaseNotes false
body changelog
body body_changelog
draft true
prerelease false
releaseAssets jar
Expand Down

0 comments on commit 0f95833

Please sign in to comment.