diff options
Diffstat (limited to 'make/build.xml')
-rwxr-xr-x | make/build.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 35c3d6b..64be75d 100755 --- a/make/build.xml +++ b/make/build.xml @@ -54,6 +54,7 @@ <property file="${build}/artifact.properties"/> <property name="gluegen.build.number" value="manual"/> <property name="gluegen.build.id" value="${version.timestamp}"/> + <property name="gluegen.build.branch" value="master"/> <property name="gluegen.build.commit" value="manual"/> <!-- This is the version of GlueGen you are building --> @@ -607,6 +608,7 @@ overwrite="true"> <filterset> <filter token="VERSION" value="${gluegen.version}"/> + <filter token="SCM_BRANCH" value="${gluegen.build.branch}"/> <filter token="SCM_COMMIT" value="${gluegen.build.commit}"/> <filter token="BASEVERSION" value="${gluegen_base_version}"/> </filterset> @@ -624,6 +626,7 @@ overwrite="true"> <filterset> <filter token="VERSION" value="${gluegen.version}"/> + <filter token="SCM_BRANCH" value="${gluegen.build.branch}"/> <filter token="SCM_COMMIT" value="${gluegen.build.commit}"/> <filter token="BASEVERSION" value="${gluegen_base_version}"/> </filterset> @@ -634,6 +637,7 @@ overwrite="true"> <filterset> <filter token="VERSION" value="${gluegen.version}"/> + <filter token="SCM_BRANCH" value="${gluegen.build.branch}"/> <filter token="SCM_COMMIT" value="${gluegen.build.commit}"/> <filter token="BASEVERSION" value="${gluegen_base_version}"/> </filterset> @@ -699,6 +703,7 @@ <target name="tag.build" depends="init"> <echo message='gluegen.build.number=${gluegen.build.number}${line.separator}' file="${build}/artifact.properties"/> <echo message='gluegen.build.id=${gluegen.build.id}${line.separator}' file="${build}/artifact.properties" append="true"/> + <echo message='gluegen.build.branch=${gluegen.build.branch}${line.separator}' file="${build}/artifact.properties" append="true"/> <echo message='gluegen.build.commit=${gluegen.build.commit}${line.separator}' file="${build}/artifact.properties" append="true"/> </target> |