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: 10 additions & 8 deletions docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<checkout>` 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=<checkout>`. 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=<jar>` and `-PorespawnRuntimeJar=<jar>` to select matching
Expand Down
4 changes: 4 additions & 0 deletions docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion gradle/grass-slabs-release.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading