diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4923f53..9636762 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,5 @@ name: build -on: [push] +on: [push,workflow_dispatch] jobs: build: @@ -28,7 +28,7 @@ jobs: gradle-version: wrapper gradle-distribution-sha-256-sum-warning: false - - run: git tag + - run: git describe --tags --dirty="-dev" --broken - name: build run: ./gradlew build diff --git a/build.gradle b/build.gradle index ed6267f..b92686c 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,10 @@ String getVersionSuffix() { return split[split.length - 2] + suffix } +afterEvaluate { + logger.lifecycle("Version String: ${version}") +} + tasks.register('move-jar', Copy) { mkdir "$rootDir/artifacts" from "$rootDir/platforms/fabric-1.20.1/build/libs", "$rootDir/platforms/forge-1.20.1/build/libs"