From f54af7f0e1bb11de69cc3f07fd6193529910bfa7 Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Fri, 16 Aug 2024 22:12:59 +0200 Subject: [PATCH] updates --- .github/workflows/gradle.yml | 14 ++++++------ build.gradle | 2 +- gradle.properties | 2 +- scripts/upload_releases.sh | 42 ++++++++++++++++++------------------ 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index ce00c7c..14e18a6 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -35,7 +35,7 @@ jobs: run: | MC=$(awk -F '=' '/mc_version/ { print $2; }' gradle.properties) BUILD=$(awk -F '=' '/build_number/ { print $2; }' gradle.properties) - echo "forge=Forge/build/libs/Neat-${MC}-${BUILD}-FORGE.jar" >> "$GITHUB_OUTPUT" + echo "neoforge=NeoForge/build/libs/Neat-${MC}-${BUILD}-NEOFORGE.jar" >> "$GITHUB_OUTPUT" echo "fabric=Fabric/build/libs/Neat-${MC}-${BUILD}-FABRIC.jar" >> "$GITHUB_OUTPUT" - name: Sign jars env: @@ -44,16 +44,16 @@ jobs: run: | echo "${SIGNING_KEY}" | gpg --import - gpg --local-user "Violet Moon Signing Key" --armor \ - --detach-sign ${{ steps.calculate_artifact_names.outputs.forge }} + --detach-sign ${{ steps.calculate_artifact_names.outputs.neoforge }} gpg --local-user "Violet Moon Signing Key" --armor \ --detach-sign ${{ steps.calculate_artifact_names.outputs.fabric }} - - name: Archive Forge Artifacts + - name: Archive NeoForge Artifacts uses: actions/upload-artifact@v2 with: - name: Forge + name: NeoForge path: | - ${{ steps.calculate_artifact_names.outputs.forge }} - ${{ steps.calculate_artifact_names.outputs.forge }}.asc + ${{ steps.calculate_artifact_names.outputs.neoforge }} + ${{ steps.calculate_artifact_names.outputs.neoforge }}.asc - name: Archive Fabric Artifacts uses: actions/upload-artifact@v2 with: @@ -67,7 +67,7 @@ jobs: GH_TOKEN: ${{ github.token }} GIT_REF: ${{ github.ref }} FABRIC_JAR: ${{ steps.calculate_artifact_names.outputs.fabric }} - FORGE_JAR: ${{ steps.calculate_artifact_names.outputs.forge }} + NEOFORGE_JAR: ${{ steps.calculate_artifact_names.outputs.neoforge }} CURSEFORGE_TOKEN: ${{ secrets.VAZKII_CURSEFORGE_TOKEN }} MODRINTH_TOKEN: ${{ secrets.VAZKII_MODRINTH_TOKEN }} run: | diff --git a/build.gradle b/build.gradle index 577f512..cbe53be 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'com.diffplug.spotless' version '5.12.5' apply false + id 'com.diffplug.spotless' version '6.25.0' apply false id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.7" } diff --git a/gradle.properties b/gradle.properties index 52f312a..05a9578 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,6 +10,6 @@ org.gradle.jvmargs=-Xmx2G \ group=vazkii.neat neoforge_version=21.1.1 mod_id=neat -build_number=37 +build_number=36 mod_name=Neat mc_version=1.21 diff --git a/scripts/upload_releases.sh b/scripts/upload_releases.sh index 6a96d07..741f604 100755 --- a/scripts/upload_releases.sh +++ b/scripts/upload_releases.sh @@ -22,9 +22,9 @@ function release_github() { echo >&2 'Uploading Fabric Jar and Signature to GitHub' gh release upload "${TAGNAME}" "${FABRIC_JAR}#Fabric Jar" gh release upload "${TAGNAME}" "${FABRIC_JAR}.asc#Fabric Signature" - echo >&2 'Uploading Forge Jar and Signature to GitHub' - gh release upload "${TAGNAME}" "${FORGE_JAR}#Forge Jar" - gh release upload "${TAGNAME}" "${FORGE_JAR}.asc#Forge Signature" + echo >&2 'Uploading NeoForge Jar and Signature to GitHub' + gh release upload "${TAGNAME}" "${NEOFORGE_JAR}#NeoForge Jar" + gh release upload "${TAGNAME}" "${NEOFORGE_JAR}.asc#Forge Signature" } function release_modrinth() { @@ -60,13 +60,13 @@ EOF -F "data=$MODRINTH_FABRIC_SPEC" \ -F "jar=@${FABRIC_JAR}" # TODO modrinth doesn't allow asc files. Remember to readd "signature" to the spec when reenabling this. \ -F "signature=@${FABRIC_JAR}.asc" - echo >&2 'Uploading Forge Jar to Modrinth' - local MODRINTH_FORGE_SPEC - MODRINTH_FORGE_SPEC=$(cat <&2 'Uploading NeoForge Jar to Modrinth' + local MODRINTH_NEOFORGE_SPEC + MODRINTH_NEOFORGE_SPEC=$(cat <&2 'Uploading Forge Jar to CurseForge' - local CURSEFORGE_FORGE_SPEC - CURSEFORGE_FORGE_SPEC=$(cat <