Add build number to the version

This commit is contained in:
Dan Mulloy 2015-03-31 15:45:19 -04:00
parent 992be51646
commit d96ed73e82
2 changed files with 14 additions and 1 deletions

View File

@ -12,6 +12,7 @@
<properties>
<project.build.sourceEncoding>cp1252</project.build.sourceEncoding>
<project.build.number></project.build.number>
<jarName>ProtocolLib</jarName>
</properties>
@ -131,6 +132,18 @@
</reporting>
<profiles>
<profile>
<id>jenkins</id>
<activation>
<property>
<name>env.BUILD_NUMBER</name>
</property>
</activation>
<properties>
<project.build.number>-b${env.BUILD_NUMBER}</project.build.number>
</properties>
</profile>
<profile>
<id>release-sign-artifacts</id>
<activation>

View File

@ -1,5 +1,5 @@
name: ProtocolLib
version: ${project.version}
version: ${project.version}${project.build.number}
description: Provides read/write access to the Minecraft protocol.
authors: [dmulloy2, comphenix]