This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch release/0.9.6
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/release/0.9.6 by this push:
     new 2a0ba1c  some fixes and feedback to update.version
2a0ba1c is described below

commit 2a0ba1ce95aa90bfdc996d2fcb5dd5323393e91c
Author: Alex Harui <[email protected]>
AuthorDate: Fri Oct 4 16:48:35 2019 -0700

    some fixes and feedback to update.version
---
 releasecandidate.xml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/releasecandidate.xml b/releasecandidate.xml
index 4ea3476..cb1fd73 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -1182,9 +1182,13 @@ ${my.name}
     </target>
     
     <target name="update.versions" depends="check-royale-asjs, 
check-royale-typedefs, check-royale-compiler,get-next-version" 
if="has.next.version">
+        <echo>updating royale-asjs</echo>
         <replace file="${asjs}/build.properties"
             token="release.version = ${release.version}"
             value="release.version = ${new.release.version}" />
+        <replace file="${asks}/build.properties"
+            token="releaseversion = ${release.version}"
+            value="releaseversion = ${new.release.version}" />
         <replace file="${asjs}/package.json"
             token="version&quot;: &quot;${release.version}"
             value="version&quot;: &quot;${new.release.version}" />
@@ -1235,9 +1239,13 @@ ${my.name}
             <arg value="-m" />
             <arg value="update version to ${new.release.version}" />
         </exec>
+        <echo>updating royale-compiler</echo>
         <replace file="${compiler}/build.properties"
-            token="release.version = ${release.version}"
-            value="release.version = ${new.release.version}" />
+            token="release.version=${release.version}"
+            value="release.version=${new.release.version}" />
+        <replace file="${compiler}/build.properties"
+            token="releaseversion=${release.version}"
+            value="releaseversion=${new.release.version}" />
         <exec executable="${git}" dir="${compiler}" failonerror="true" >
             <arg value="add" />
             <arg value="." />
@@ -1247,6 +1255,7 @@ ${my.name}
             <arg value="-m" />
             <arg value="update version to ${new.release.version}" />
         </exec>
+        <echo>updating royale-typedefs</echo>
         <replaceregexp file="${typedefs}/pom.xml" byline="true" 
encoding="UTF-8">
             <regexp pattern="royale.compiler.version&gt;.*&lt;"/>
             <substitution 
expression="royale.compiler.version&gt;${new.release.version}-SNAPSHOT&lt;"/>

Reply via email to