Add DevVersion Tag

This commit is contained in:
Ste3et_C0st 2020-12-04 21:59:19 +01:00
parent 666fdb1a69
commit 93be9590cf
2 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,7 @@ stages:
DiceFurniture:
stage: build
script:
- mvn clean package
- mvn clean package -Dfurniture.tag="-dev-$CI_COMMIT_SHORT_SHA"
artifacts:
paths:
- target/*.jar

View File

@ -2,7 +2,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.Ste3et_C0st.furniture</groupId>
<artifactId>DiceFurniture</artifactId>
<version>3.4.6</version>
<properties>
<furniture.tag></furniture.tag>
</properties>
<version>3.4.6${furniture.tag}</version>
<build>
<defaultGoal>clean package install</defaultGoal>
<sourceDirectory>src</sourceDirectory>