From bcd3d95d193ce500f15492d7ae7ff6c6c28c21a4 Mon Sep 17 00:00:00 2001 From: sylv256 Date: Wed, 17 Jul 2024 14:36:53 -0400 Subject: [PATCH] fix CI bug (now removes `-pre.` in snapshots) + update CHANGELOG.md --- CHANGELOG.md | 5 +++++ build.gradle | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adf147393..c9538b610 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Gluon Changelog +## `0.1.0-pre.2+1.21` +### Fixed + - Dispel disinformation denoted by dangerously dubious documentation (related to entity and level ticking) + - CI now removes `-pre.` when it is publishing snapshots (failure due to incorrect environment variable) + ## `0.1.0-pre.1+1.21` ### Added - Lifecycle Events diff --git a/build.gradle b/build.gradle index 355681a27..3df1c0f4d 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ if (version.contains("-alpha.") && !ENV.MAVEN_URL) { } // Takes "1.0.0-pre.1" and changes it to "1.0.0" if we're publishing a snapshot. -if (version.contains("-pre.") && ENV.SNAPSHOT_URL) { +if (version.contains("-pre.") && ENV.SNAPSHOTS_URL) { version = version.replace(version.substring(version.indexOf("-pre.")), "") }