From e13bd401bd0e8f36379244b67ff7a7925614fb5f Mon Sep 17 00:00:00 2001 From: TropheusJ Date: Tue, 20 Feb 2024 14:39:34 -0500 Subject: [PATCH] remove version nonsense --- .github/workflows/release.yml | 8 ++------ build.gradle | 9 --------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d140662d0..229e23686 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,10 +30,9 @@ jobs: - name: publish id: publish - # build to create artifacts for upload to GitHub + # build to create artifacts for upload to GitHub, MR, and CF # publish publishes to maven - # grabVersion stores the version as an output - run: ./gradlew build publish grabVersion + run: ./gradlew build publish - name: capture build artifacts uses: actions/upload-artifact@v3 @@ -52,9 +51,6 @@ jobs: modrinth-featured: false # leave it to auto featuring - name: ${{ steps.publish.outputs.version }} - version: ${{ steps.publish.outputs.version }} - loaders: | fabric quilt diff --git a/build.gradle b/build.gradle index d99e0486c..a0cb6d2f8 100644 --- a/build.gradle +++ b/build.gradle @@ -25,15 +25,6 @@ processResources { exclude("template.fabric.mod.json") } -tasks.register("grabVersion") { - File output = project.file("\$GITHUB_OUTPUT") - String version = project.version - - doFirst { - output.setText("version=$version") - } -} - allprojects { if (name == "buildSrc") return