Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ jobs:
./gradlew "${gradle_args[@]}"
first="$RUNNER_TEMP/basemetals-first"
mkdir -p "$first"
cp build/libs/BaseMetals-3.0.1.113021.jar "$first/"
cp build/libs/BaseMetals-3.0.1.113021-sources.jar "$first/"
cp build/libs/BaseMetals-3.0.1.113021-javadoc.jar "$first/"
cp build/libs/BaseMetals-3.0.2.113021.jar "$first/"
cp build/libs/BaseMetals-3.0.2.113021-sources.jar "$first/"
cp build/libs/BaseMetals-3.0.2.113021-javadoc.jar "$first/"
cp build/release/SHA256SUMS "$first/"

- name: Rebuild and prove byte-identical archives
Expand All @@ -159,9 +159,9 @@ jobs:
-Dorg.gradle.java.installations.auto-download=false
)
./gradlew "${gradle_args[@]}"
cmp "$RUNNER_TEMP/basemetals-first/BaseMetals-3.0.1.113021.jar" build/libs/BaseMetals-3.0.1.113021.jar
cmp "$RUNNER_TEMP/basemetals-first/BaseMetals-3.0.1.113021-sources.jar" build/libs/BaseMetals-3.0.1.113021-sources.jar
cmp "$RUNNER_TEMP/basemetals-first/BaseMetals-3.0.1.113021-javadoc.jar" build/libs/BaseMetals-3.0.1.113021-javadoc.jar
cmp "$RUNNER_TEMP/basemetals-first/BaseMetals-3.0.2.113021.jar" build/libs/BaseMetals-3.0.2.113021.jar
cmp "$RUNNER_TEMP/basemetals-first/BaseMetals-3.0.2.113021-sources.jar" build/libs/BaseMetals-3.0.2.113021-sources.jar
cmp "$RUNNER_TEMP/basemetals-first/BaseMetals-3.0.2.113021-javadoc.jar" build/libs/BaseMetals-3.0.2.113021-javadoc.jar
cmp "$RUNNER_TEMP/basemetals-first/SHA256SUMS" build/release/SHA256SUMS

- name: Run exact-OreSpawn dedicated-server probe
Expand All @@ -185,9 +185,9 @@ jobs:
if-no-files-found: error
retention-days: 30
path: |
build/libs/BaseMetals-3.0.1.113021.jar
build/libs/BaseMetals-3.0.1.113021-sources.jar
build/libs/BaseMetals-3.0.1.113021-javadoc.jar
build/libs/BaseMetals-3.0.2.113021.jar
build/libs/BaseMetals-3.0.2.113021-sources.jar
build/libs/BaseMetals-3.0.2.113021-javadoc.jar
build/release/SHA256SUMS
CHANGELOG.txt

Expand Down
8 changes: 3 additions & 5 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Unreleased 1.13.2 migration repair
Base Metals 3.0.2.113021

- Leave an already-correct Forge leaves data fixer unchanged instead of logging
a transformer failure.
- Still reject unrecognised fixer bytecode, and check both repair and repeat-load
paths.
- Fix an error converting leaves when you open a 1.10.2 or 1.12.2 world in
Minecraft 1.13.2. The converter now leaves already repaired code alone.

Base Metals 3.0.1.113021

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ IDs before Minecraft converts the chunks, and also converts old item names,
durability and universal fluid buckets. Chunks containing only Base Metals
items in containers are protected too.

Use Base Metals 3.0.2.113021 or later on Minecraft 1.13.2 when upgrading an old
world. This patch fixes a crash in Forge's leaves conversion.

Always perform the first upgrade on a copy of the world and keep the untouched
original. Read [Migration](docs/MIGRATION.md) before opening an old save. A
world already upgraded to Minecraft 1.18 must not be opened in this older
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ tasks.register('verifyReleaseConfiguration') {
loaderCode: project.loader_code.toString(), javaVersion: project.java_version.toString(),
gradleJavaVersion: project.gradle_java_version.toString(),
curseForgeProjectId: project.curseforge_project_id.toString()]
def expected = [modVersion: '3.0.1.113021', modGroup: expectedMavenGroup,
def expected = [modVersion: '3.0.2.113021', modGroup: expectedMavenGroup,
minecraftVersion: '1.13.2', forgeVersion: '25.0.223',
forgeInstallerSha256: 'D46CB326E7DC32695084090C8169BB57F32F1C23B801DDB35A336F252E381191',
mappingChannel: 'snapshot', mappingVersion: '20180921-1.13',
Expand Down Expand Up @@ -620,7 +620,7 @@ tasks.register('verifyReleaseArtifacts') {
throw new GradleException('Release manifest contains the wrong identity')
}
String modsToml = zip.getInputStream(zip.getEntry('META-INF/mods.toml')).getText('UTF-8')
if (modsToml.contains('${') || !modsToml.contains('version="3.0.1.113021"')
if (modsToml.contains('${') || !modsToml.contains("version=\"${project.mod_version}\"")
|| !modsToml.contains('versionRange="[4.1.0.113021,5.0.0)"')) {
throw new GradleException('Release mods.toml contains unresolved or incompatible metadata')
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mcp_version=20190213.203750
mod_id=basemetals
mod_name=Base Metals
mod_license=LGPL-2.1
mod_version=3.0.1.113021
mod_version=3.0.2.113021

# Maven coordinates and credits.
mod_group=zone.moddev.mc.basemetals
Expand Down
2 changes: 1 addition & 1 deletion src/clientIntegrationTest/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description='''Build-only packaged-client checks for Base Metals 1.13.2.'''
[[dependencies.basemetalsclientprobe]]
modId="basemetals"
mandatory=true
versionRange="[3.0.1.113021]"
versionRange="[3.0.2.113021]"
ordering="AFTER"
side="CLIENT"

Expand Down
2 changes: 1 addition & 1 deletion src/integrationTest/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description='''Build-only lifecycle checks for Base Metals 1.13.2.'''
[[dependencies.basemetalsprobe]]
modId="basemetals"
mandatory=true
versionRange="[3.0.1.113021]"
versionRange="[3.0.2.113021]"
ordering="AFTER"
side="BOTH"

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ issueTrackerURL="https://github.com/SkyBlade1978/BaseMetals/issues"

[[mods]]
modId="basemetals"
version="3.0.1.113021"
version="3.0.2.113021"
displayName="Base Metals"
displayURL="https://www.curseforge.com/minecraft/mc-mods/base-metals"
authors="Cyanobacterium, jriwanek, dshadowwolf, GetDizzy611, SkyBlade1978, the MMD Team"
Expand Down
Loading