mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 03:05:16 +01:00
Removes build version suffix to SNAPSHOT releases.
See https://github.com/BentoBoxWorld/BentoBox/issues/603
This commit is contained in:
parent
9ba34d1e92
commit
5d2e6e6906
15
pom.xml
15
pom.xml
@ -71,21 +71,6 @@
|
||||
<revision>${build.version}-SNAPSHOT</revision>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- Develop profile is activated if there exist environment variable BUILD_NUMBER. It adds
|
||||
'-SNAPSHOT #BUILD_NUMBER' at the end of ${build.version}. -->
|
||||
<!-- This profile will be used only if exist environment variable BUILD_NUMBER and master fails. -->
|
||||
<id>develop</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>env.BUILD_NUMBER</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- If exist BUILD_NUMBER -->
|
||||
<revision>${build.version}-SNAPSHOT-#${env.BUILD_NUMBER}</revision>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- Master profile is activated if exist environment variable GIT_BRANCH and its value is
|
||||
origin/master. It will not add anything at the end of '${build.version}'. -->
|
||||
|
Loading…
Reference in New Issue
Block a user