diff --git a/docs/BUILDING.md b/docs/BUILDING.md index 280333737..85b611cb8 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -27,14 +27,16 @@ processed resources and keeps test code out of ordinary game runs. - `runMineralogyClient` and `runMineralogyServer` use the optional Mineralogy and OreSpawn jars recorded in `gradle/mineralogy-runtime.properties`. -Each profile has its own game folder. Grass Slabs is checked against its SHA-256 -and mapped to development names. This candidate uses Grass Slabs 1.2.0 from the -sibling 1.12 checkout: run `gradlew assemble` there first. Its source commit and -jar checksum must match `gradle/grass-slabs-release.properties`. Use -`-PgrassSlabsDirectory=` for another location. CI builds that exact -commit before running these checks. The source jar stays unchanged, and none -of its classes are bundled into Building Pieces. The lock also supports a -published Maven jar when `source.mode=release`. +Each profile has its own game folder. The build downloads Grass Slabs 1.2.0 +from its GitHub release, checks its SHA-256 and maps it to development names. +The version and checksum are recorded in `gradle/grass-slabs-release.properties`. +The downloaded jar stays unchanged, and none of its classes are bundled into +Building Pieces. + +For an unreleased integration candidate, the lock also supports +`source.mode=checkout`. Build the exact `source.commit` with `gradlew assemble` +first, then pass `-PgrassSlabsDirectory=`. CI follows the selected mode +too; ordinary release builds use the published jar. For the Mineralogy profile, supply the jars named in its lock file, or use `-PmineralogyRuntimeJar=` and `-PorespawnRuntimeJar=` to select matching diff --git a/docs/RELEASING.md b/docs/RELEASING.md index e101abffc..b3c977648 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -35,5 +35,9 @@ approval. CurseForge uploads have one attempt. A timeout can happen after a file has been accepted, so check the project files before attempting any recovery upload. +If a build fails before tagging or publication, keep its failure log, correct +the branch and run the release again. Confirm that no tag or upload was created +before doing so. + Content mods must be released before add-ons that require them. Keep dependency source pins up to date when preparing a coordinated release. diff --git a/gradle/grass-slabs-release.properties b/gradle/grass-slabs-release.properties index 896220695..446d2d6da 100644 --- a/gradle/grass-slabs-release.properties +++ b/gradle/grass-slabs-release.properties @@ -3,5 +3,5 @@ version=1.2.0.112021 coordinate=zone.moddev.mc.skysgrassslabs:SkysGrassSlabs:1.2.0.112021 sha256=0A92C6A9BF28808F2C55A1A3FC00D08D1CBDA7F4910432A3846A839BE9FB497E source.commit=2780de0ef41fbf7e2ab8336e76c4a4b60919716a -source.mode=checkout +source.mode=release source.directory=../../SkysGrassSlabs112/SkysGrassSlabs