Skip to content

Commit f6089c1

Browse files
committed
Use relative link for changelog
1 parent 659bb90 commit f6089c1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎build.gradle‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ subprojects { Project $subproject ->
8787
//noinspection GroovyAssignabilityCheck
8888
github {
8989
final String $tag = "v${$mod_version}-${$subproject.name}"
90-
final String $urlTag = URLEncoder.encode($tag, StandardCharsets.UTF_8)
9190
final String $urlHeader = URLEncoder.encode(
9291
"${mod_version}-[${$date}]".replaceAll("\\.", ""),
9392
StandardCharsets.UTF_8
@@ -96,7 +95,7 @@ subprojects { Project $subproject ->
9695
repository = $prop.safe("mod_github_repo")
9796
commitish = grgitService.service.get().grgit.branch.current().name
9897
tagName = $tag
99-
changelog = "[Changelog](https://github.com/${mod_github_repo}/blob/${$urlTag}/CHANGELOG.md#${$urlHeader})"
98+
changelog = "[Changelog](./CHANGELOG.md#${$urlHeader})"
10099
if (build_sources_jar == "true")
101100
additionalFiles.from(provider { sourcesJar.archiveFile })
102101
if (build_javadoc_jar == "true")

0 commit comments

Comments
 (0)