Update to BentoBox 1.4;
Init next version. Add build.number to pom and addon.yml. Replace develop profile with ci profile. It will be activated by BUILD_NUMBER variable, but will change only build.number property. Add '-SNAPSHOT' at the end of revision. It will now be added by default.
This commit is contained in:
parent
4592043b4e
commit
f026891bda
16
pom.xml
16
pom.xml
|
@ -46,16 +46,19 @@
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version>
|
||||||
<bentobox.version>1.4.0-SNAPSHOT</bentobox.version>
|
<bentobox.version>1.4.0</bentobox.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- This allows to change between versions and snapshots. -->
|
<!-- This allows to change between versions and snapshots. -->
|
||||||
<build.version>1.4.0-SNAPSHOT</build.version>
|
<build.version>1.4.0</build.version>
|
||||||
|
<build.number>0</build.number>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<!-- Build profile is activated by BUILD_NUMBER variable. It replaces 0 with correct build number. -->
|
||||||
|
<!-- This profile will be used only if BUILD_NUMBER environment variable exists. -->
|
||||||
<profile>
|
<profile>
|
||||||
<id>develop</id>
|
<id>ci</id>
|
||||||
<activation>
|
<activation>
|
||||||
<property>
|
<property>
|
||||||
<name>env.BUILD_NUMBER</name>
|
<name>env.BUILD_NUMBER</name>
|
||||||
|
@ -63,10 +66,13 @@
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Override only if necessary -->
|
<!-- Override only if necessary -->
|
||||||
<revision>${build.version}-SNAPSHOT #${env.BUILD_NUMBER}</revision>
|
<build.number>${env.BUILD_NUMBER}</build.number>
|
||||||
<!-- GIT_BRANCH -->
|
<!-- GIT_BRANCH -->
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
<!-- master profile is activated by GIT_BRANCH variable. It removes '-SNAPSHOT' at the end of -->
|
||||||
|
<!-- ${build.version} -->
|
||||||
|
<!-- This profile will be used only if environment variable GIT_BRANCH is origin/master. -->
|
||||||
<profile>
|
<profile>
|
||||||
<id>master</id>
|
<id>master</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: CaveBlock
|
name: CaveBlock
|
||||||
main: world.bentobox.caveblock.CaveBlock
|
main: world.bentobox.caveblock.CaveBlock
|
||||||
version: ${version}
|
version: ${version}-#${build.number}
|
||||||
|
|
||||||
authors: BONNe
|
authors: BONNe
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue