diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 8cca99e..d1638a7 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -10,8 +10,6 @@ jobs: RUN_NUMBER: ${{ gitea.run_number }} strategy: matrix: - version: [ '1.0.2' ] - minecraft: [ '1.21.4' ] java: [ '21' ] runs-on: ubuntu-latest steps: @@ -46,8 +44,8 @@ jobs: - name: Make release uses: akkuman/gitea-release-action@v1 with: - name: DonatePay Integration ${{ matrix.java }}-${{ gitea.run_number }} for ${{ matrix.minecraft }} - tag_name: donpayintegplug-${{ matrix.java }}+${{ matrix.minecraft }}-${{ gitea.run_number }} + name: DonatePay Integration ${{ matrix.java }}-${{ gitea.run_number }} + tag_name: donpayintegplug-${{ matrix.java }}-${{ gitea.run_number }} md5sum: true sha256sum: true files: |- diff --git a/build.gradle b/build.gradle index e3b6f8a..55b1a7a 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,9 @@ plugins { id 'java' } +String buildNumber = System.getenv("RUN_NUMBER") group = 'ru.bitheaven' -version = '1.0.2' +version = (buildNumber != null ? buildNumber : "dev") repositories { mavenCentral()