Remove version, add build number

This commit is contained in:
BitHeaven 2025-01-22 11:04:53 +05:00
parent 99f24441bc
commit d5de97e110
2 changed files with 4 additions and 5 deletions

View File

@ -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: |-

View File

@ -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()