mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 13:36:06 +01:00
Improve pom.
Removes -#NUM from master build. Replaces -#0 to -LOCAL if use local build.
This commit is contained in:
parent
8d2aecb552
commit
bc5cb2068b
7
pom.xml
7
pom.xml
@ -43,7 +43,7 @@
|
|||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- This allows to change between versions and snapshots. -->
|
<!-- This allows to change between versions and snapshots. -->
|
||||||
<build.version>0.7.0</build.version>
|
<build.version>0.7.0</build.version>
|
||||||
<build.number>0</build.number>
|
<build.number>-LOCAL</build.number>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
@ -56,7 +56,7 @@
|
|||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Override only if necessary -->
|
<!-- Override only if necessary -->
|
||||||
<build.number>${env.BUILD_NUMBER}</build.number>
|
<build.number>-#${env.BUILD_NUMBER}</build.number>
|
||||||
<!-- GIT_BRANCH -->
|
<!-- GIT_BRANCH -->
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
@ -71,7 +71,8 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<!-- Override only if necessary -->
|
<!-- Override only if necessary -->
|
||||||
<revision>${build.version}</revision>
|
<revision>${build.version}</revision>
|
||||||
<!-- GIT_BRANCH -->
|
<!-- Empties build number variable.-->
|
||||||
|
<build.number></build.number>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: Challenges
|
name: Challenges
|
||||||
main: world.bentobox.challenges.ChallengesAddon
|
main: world.bentobox.challenges.ChallengesAddon
|
||||||
version: ${version}-#${build.number}
|
version: ${version}${build.number}
|
||||||
repository: 'BentoBoxWorld/Challenges'
|
repository: 'BentoBoxWorld/Challenges'
|
||||||
metrics: true
|
metrics: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user