Remove version, add build number
This commit is contained in:
parent
99f24441bc
commit
d5de97e110
@ -10,8 +10,6 @@ jobs:
|
|||||||
RUN_NUMBER: ${{ gitea.run_number }}
|
RUN_NUMBER: ${{ gitea.run_number }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [ '1.0.2' ]
|
|
||||||
minecraft: [ '1.21.4' ]
|
|
||||||
java: [ '21' ]
|
java: [ '21' ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -46,8 +44,8 @@ jobs:
|
|||||||
- name: Make release
|
- name: Make release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
name: DonatePay Integration ${{ matrix.java }}-${{ gitea.run_number }} for ${{ matrix.minecraft }}
|
name: DonatePay Integration ${{ matrix.java }}-${{ gitea.run_number }}
|
||||||
tag_name: donpayintegplug-${{ matrix.java }}+${{ matrix.minecraft }}-${{ gitea.run_number }}
|
tag_name: donpayintegplug-${{ matrix.java }}-${{ gitea.run_number }}
|
||||||
md5sum: true
|
md5sum: true
|
||||||
sha256sum: true
|
sha256sum: true
|
||||||
files: |-
|
files: |-
|
||||||
|
@ -2,8 +2,9 @@ plugins {
|
|||||||
id 'java'
|
id 'java'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String buildNumber = System.getenv("RUN_NUMBER")
|
||||||
group = 'ru.bitheaven'
|
group = 'ru.bitheaven'
|
||||||
version = '1.0.2'
|
version = (buildNumber != null ? buildNumber : "dev")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
Loading…
Reference in New Issue
Block a user