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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Base Gems 1.13.2 CI
name: Base Gems 1.14.4 CI

on:
push:
branches: [master-1.13.2, 'feature/**']
branches: [master-1.14.4, 'feature/**']
pull_request:
branches: [master-1.13.2]
branches: [master-1.14.4]

permissions:
contents: read

concurrency:
group: basegems-113-${{ github.workflow }}-${{ github.ref }}
group: basegems-114-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
run: python3 gradle/stage-legacy-dependencies.py .gradle/legacy-dependencies
- name: Build, audit and generate Eclipse launches
run: |
bash ./gradlew clean check build javadoc verify113ReleaseArtifacts write113ReleaseChecksums prepareEclipse \
bash ./gradlew clean check build javadoc verify114ReleaseArtifacts write114ReleaseChecksums prepareEclipse \
-PreleaseBuild=true -PlegacyDependencyVerificationRepository="$PWD/.gradle/legacy-dependencies" \
--no-daemon --stacktrace --max-workers=2 \
"-Dorg.gradle.java.installations.paths=$JAVA_HOME,$JAVA_HOME_8_X64,$JAVA_HOME_25_X64" \
Expand All @@ -57,15 +57,15 @@ jobs:
- name: Upload audited release candidate
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: BaseGems-1.13.2-${{ github.sha }}
name: BaseGems-1.14.4-${{ github.sha }}
if-no-files-found: error
retention-days: 30
path: build/release-bundle/
- name: Retain failure diagnostics
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: BaseGems-1.13.2-diagnostics-${{ github.sha }}
name: BaseGems-1.14.4-diagnostics-${{ github.sha }}
if-no-files-found: ignore
retention-days: 14
path: |
Expand Down
43 changes: 27 additions & 16 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Release Base Gems 1.13.2
name: Release Base Gems 1.14.4
run-name: Base Gems ${{ inputs.release_version }} (${{ inputs.confirm_live_publication && 'publish' || 'verify' }})

on:
workflow_dispatch:
inputs:
release_version:
description: Four-part version for Minecraft 1.13.2
description: Four-part version for Minecraft 1.14.4
required: true
type: string
release_commit:
description: Full SHA of the checked MMD master-1.13.2 commit
description: Full SHA of the checked MMD master-1.14.4 commit
required: true
type: string
tested_jar_sha256:
Expand All @@ -33,13 +33,13 @@ permissions:
contents: read

concurrency:
group: basegems-release-113
group: basegems-release-114
cancel-in-progress: false

jobs:
qualify:
name: Verify merged CI candidate
if: github.repository == 'MinecraftModDevelopmentMods/BaseGems' && github.ref == 'refs/heads/master-1.13.2'
if: github.repository == 'MinecraftModDevelopmentMods/BaseGems' && github.ref == 'refs/heads/master-1.14.4'
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
Expand All @@ -61,21 +61,21 @@ jobs:
TESTED_SHA: ${{ inputs.tested_jar_sha256 }}
run: |
set -euo pipefail
[[ "$RELEASE_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.113021$ ]]
[[ "$RELEASE_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.114041$ ]]
[[ "$RELEASE_SHA" =~ ^[[:xdigit:]]{40}$ ]]
[[ "$TESTED_SHA" =~ ^[[:xdigit:]]{64}$ ]]
test "$(git rev-parse HEAD)" = "$RELEASE_SHA"
test "$(gh api "repos/$GITHUB_REPOSITORY/branches/master-1.13.2" --jq .commit.sha)" = "$RELEASE_SHA"
test "$(gh api "repos/$GITHUB_REPOSITORY/branches/master-1.14.4" --jq .commit.sha)" = "$RELEASE_SHA"
grep -Fxq "mod_version=$RELEASE_VERSION" gradle.properties
grep -Fxq 'minecraft_version=1.13.2' gradle.properties
grep -Fxq 'minecraft_version=1.14.4' gradle.properties
ci_run="$(gh api --method GET "repos/$GITHUB_REPOSITORY/actions/workflows/ci.yml/runs" \
-f branch=master-1.13.2 -f head_sha="$RELEASE_SHA" -f event=push -f status=success \
-f branch=master-1.14.4 -f head_sha="$RELEASE_SHA" -f event=push -f status=success \
--jq '.workflow_runs[0].id // empty')"
test -n "$ci_run"
echo "ci_run=$ci_run" >> "$GITHUB_OUTPUT"
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: BaseGems-1.13.2-${{ inputs.release_commit }}
name: BaseGems-1.14.4-${{ inputs.release_commit }}
run-id: ${{ steps.candidate.outputs.ci_run }}
github-token: ${{ github.token }}
path: ${{ runner.temp }}/release-input
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: BaseGems-1.13.2-${{ inputs.release_commit }}
name: BaseGems-1.14.4-${{ inputs.release_commit }}
run-id: ${{ needs.qualify.outputs.ci_run }}
github-token: ${{ github.token }}
path: ${{ runner.temp }}/release-input
Expand All @@ -179,24 +179,25 @@ jobs:
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: BaseGems-1.13.2-${{ inputs.release_commit }}
name: BaseGems-1.14.4-${{ inputs.release_commit }}
run-id: ${{ needs.qualify.outputs.ci_run }}
github-token: ${{ github.token }}
path: ${{ runner.temp }}/release-input
- name: Verify the sealed jars
working-directory: ${{ runner.temp }}/release-input
run: sha256sum --check --strict SHA256SUMS
- name: Publish Base Gems
id: curseforge
uses: Kira-NT/mc-publish@52307b03863581dec6b652b83e597aec02ebb075 # v3.3.1
with:
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
curseforge-id: '1793939'
name: Base Gems ${{ inputs.release_version }} for Minecraft 1.13.2 (Forge)
name: Base Gems ${{ inputs.release_version }} for Minecraft 1.14.4 (Forge)
version: ${{ inputs.release_version }}
version-type: ${{ inputs.curseforge_release_level }}
changelog-file: ${{ runner.temp }}/release-input/CHANGELOG.txt
loaders: forge
game-versions: '1.13.2'
game-versions: '1.14.4'
game-version-filter: none
environment: client | server
java: Java 8
Expand All @@ -210,6 +211,16 @@ jobs:
${{ runner.temp }}/release-input/BaseGems-${{ inputs.release_version }}-sources.jar
${{ runner.temp }}/release-input/BaseGems-${{ inputs.release_version }}-javadoc.jar

- name: Record the accepted CurseForge files
env:
CURSEFORGE_URL: ${{ steps.curseforge.outputs.curseforge-url }}
CURSEFORGE_FILES: ${{ steps.curseforge.outputs.curseforge-files }}
run: |
python3 - <<'PY'
import json, os
print(json.dumps({'url': os.environ['CURSEFORGE_URL'], 'files': os.environ['CURSEFORGE_FILES']}))
PY

publish_github:
name: Publish GitHub Release
needs: [qualify, publish_curseforge]
Expand All @@ -222,7 +233,7 @@ jobs:
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: BaseGems-1.13.2-${{ inputs.release_commit }}
name: BaseGems-1.14.4-${{ inputs.release_commit }}
run-id: ${{ needs.qualify.outputs.ci_run }}
github-token: ${{ github.token }}
path: ${{ runner.temp }}/release-input
Expand All @@ -235,5 +246,5 @@ jobs:
set -euo pipefail
sha256sum --check --strict SHA256SUMS
gh release create "$RELEASE_VERSION" --repo "$GITHUB_REPOSITORY" --verify-tag \
--title "Base Gems $RELEASE_VERSION for Minecraft 1.13.2 (Forge)" \
--title "Base Gems $RELEASE_VERSION for Minecraft 1.14.4 (Forge)" \
--notes-file CHANGELOG.txt "BaseGems-$RELEASE_VERSION"{,-sources,-javadoc}.jar SHA256SUMS
6 changes: 3 additions & 3 deletions .github/workflows/release-on-tag.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Validate Base Gems 1.13.2 tag
name: Validate Base Gems 1.14.4 tag
on:
push:
tags: ['*.*.*.113021']
tags: ['*.*.*.114041']
permissions:
contents: read
actions: read
Expand All @@ -16,5 +16,5 @@ jobs:
run: |
set -euo pipefail
test "$GITHUB_REF_NAME" = "$(sed -n 's/^mod_version=//p' gradle.properties)"
grep -Fxq 'minecraft_version=1.13.2' gradle.properties
grep -Fxq 'minecraft_version=1.14.4' gradle.properties
echo 'Tag validated. Publication uses deploy-release.yml with explicit confirmation.' >> "$GITHUB_STEP_SUMMARY"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ run
/forge-*-changelog.txt

secret.json
/local-build.properties

# Local agent context and verification evidence
/AGENTS.md
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
2.5.0.114041 for Minecraft 1.14.4

All 33 gems move to Forge 1.14.4, using OreSpawn 4.1.7.114041. Base Metals
3.0.2.114041 remains optional, and Modern Metals tools can share the gem
crushing recipes. The existing item names, config keys and mining levels stay.

- Block drops use native loot tables, retaining Fortune, Silk Touch and XP.
- Blast furnaces process gem ore and powder in half the ordinary furnace time.
- Gem trades move to the three Village & Pillage smith professions and restock.
- Molten gems use Forge's fluid renderer, with animated textures and coloured buckets.
- Gem ore overlays use the wider Base Metals spacing to stop flickering at shallow angles.
- Both config entry points use the 1.14 screens. Multiplayer checks Fantasy
Level and gem switches before joining.
- Tagged gems and parts from other mods unlock the recipes that accept them.
- Shield repair stays manual and keeps the shield's name and enchantments.
- Saved gem IDs and the legacy registry snapshot remain available on upgrade.

2.5.0.113021 for Minecraft 1.13.2

- Pin optional Base Metals compatibility to 3.0.3, with its shared processing and mining fixes.
Expand Down
Loading