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>
|
||||
<!-- This allows to change between versions and snapshots. -->
|
||||
<build.version>0.7.0</build.version>
|
||||
<build.number>0</build.number>
|
||||
<build.number>-LOCAL</build.number>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
@ -56,7 +56,7 @@
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- Override only if necessary -->
|
||||
<build.number>${env.BUILD_NUMBER}</build.number>
|
||||
<build.number>-#${env.BUILD_NUMBER}</build.number>
|
||||
<!-- GIT_BRANCH -->
|
||||
</properties>
|
||||
</profile>
|
||||
@ -71,7 +71,8 @@
|
||||
<properties>
|
||||
<!-- Override only if necessary -->
|
||||
<revision>${build.version}</revision>
|
||||
<!-- GIT_BRANCH -->
|
||||
<!-- Empties build number variable.-->
|
||||
<build.number></build.number>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: Challenges
|
||||
main: world.bentobox.challenges.ChallengesAddon
|
||||
version: ${version}-#${build.number}
|
||||
version: ${version}${build.number}
|
||||
repository: 'BentoBoxWorld/Challenges'
|
||||
metrics: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user