From 3dda61124e1e6c5baa48d382e5149022b15a6b41 Mon Sep 17 00:00:00 2001 From: Swedz Date: Tue, 17 Sep 2024 03:49:02 -0400 Subject: [PATCH] Github workflow fixes --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e88e4e01..1bf29718 100644 --- a/build.gradle +++ b/build.gradle @@ -80,7 +80,7 @@ task sourceJar(type: Jar) { static def trimChangelog(String changelog, int maxLength, boolean discordFormat) { if(discordFormat) { - changelog = changelog.replaceAll(/## What's Changed\n/, '') + changelog = changelog.replaceAll(/## What's Changed\r?\n/, '') changelog = changelog.replaceAll(/## New Contributors/, '**New Contributors**') }