Repository: flex-falcon Updated Branches: refs/heads/develop 9b6f5bd61 -> b3edbd332
build a list of things to update for new version Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0bda0a9f Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0bda0a9f Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0bda0a9f Branch: refs/heads/develop Commit: 0bda0a9fd969fb4069a834840e609475625b7ad1 Parents: 9b6f5bd Author: Alex Harui <[email protected]> Authored: Fri Sep 9 13:09:07 2016 -0700 Committer: Alex Harui <[email protected]> Committed: Fri Sep 9 13:09:07 2016 -0700 ---------------------------------------------------------------------- build.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0bda0a9f/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index a81d6e4..c6df1c3 100644 --- a/build.xml +++ b/build.xml @@ -895,4 +895,26 @@ <ant dir="compiler-jx/src/test" target="integration.tests.asjs" /> </target> + <!-- + Update various files for a new release version. + --> + <target name="update-version"> + <fail message="old-version and new-version must be set in the form major.minor.hotfix i.e. 0.7.0"> + <condition> + <or> + <not> + <isset property="old-version"/> + </not> + <not> + <isset property="new-version"/> + </not> + </or> + </condition> + </fail> + <replace file="${basedir}/build.properties" + token="${old-version}" + value="${new-version}" /> + </target> + + </project>
