File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 863
863
</target >
864
864
865
865
866
+
867
+ <!--
868
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
869
+ Determine the release version and tag name.
870
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
871
+ -->
872
+ <target name =" determineReleaseVersion" depends =" prepare" description =" determine the release version and tag name" >
873
+ <!-- release -->
874
+ <property name =" dryrun" value =" true" />
875
+ <mx : version stage =" release" dryrun =" ${ dryrun } " />
876
+ <property name =" project.tag" value =" v${ project.version } " />
877
+
878
+ <!-- output version information for other scripts/programs to pick up -->
879
+ <mx : if >
880
+ <and >
881
+ <isset property =" versionInfo" />
882
+ <not ><equals arg1=" ${ versionInfo } " arg2=" " trim =" true" /></not >
883
+ </and >
884
+ <then >
885
+ <echo file =" ${ basedir } /${ versionInfo } " >
886
+ GBLT_RELEASE_VERSION=${ project.version }
887
+ GBLT_RELEASE_TAG=${ project.tag }
888
+ </echo >
889
+ </then >
890
+ </mx : if >
891
+ </target >
892
+
893
+
866
894
<!--
867
895
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
868
896
Tag a new version and prepare for the next development cycle.
889
917
</and >
890
918
<then >
891
919
<echo file =" ${ basedir } /${ versionInfo } " >
892
- GB_RELEASE_VERSION =${ project.version }
893
- GB_RELEASE_TAG =${ project.tag }
920
+ GBLT_RELEASE_VERSION =${ project.version }
921
+ GBLT_RELEASE_TAG =${ project.tag }
894
922
</echo >
895
923
</then >
896
924
</mx : if >
You can’t perform that action at this time.
0 commit comments