Skip to content

Commit

Permalink
remove version nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
TropheusJ committed Feb 20, 2024
1 parent b2a06c0 commit e13bd40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
9 changes: 0 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e13bd40

Please sign in to comment.