You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/01/11 20:09:23 UTC
[royale-asjs] 02/02: more tweaks to release script to try to handle
versions in maven
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 224fbedf90e780bae34ae9ffebc75942884f8960
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Jan 11 12:09:08 2018 -0800
more tweaks to release script to try to handle versions in maven
---
releasecandidate.xml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/releasecandidate.xml b/releasecandidate.xml
index 02c2eba..11edd50 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -676,7 +676,37 @@
<echo>run git show in royale-asjs to double-check the last commit then run git-push</echo>
</target>
+ <target name="update_other_release_poms" depends="check-royale-asjs">
+ <xmlproperty file="${asjs}/pom.xml" prefix="pom"/>
+ <echo>updating release poms to version: ${pom.project.version}</echo>
+ <exec executable="${mvn}" dir="${asjs}/examples" failonerror="true" >
+ <arg value="versions:set" />
+ <arg value="-DgenerateBackupPoms=false" />
+ <arg value="-DnewVersion=${pom.project.version}" />
+ </exec>
+ <exec executable="${mvn}" dir="${asjs}/distribution" failonerror="true" >
+ <arg value="versions:set" />
+ <arg value="-DgenerateBackupPoms=false" />
+ <arg value="-DnewVersion=${pom.project.version}" />
+ </exec>
+ <exec executable="${mvn}" dir="${asjs}/manualtests" failonerror="true" >
+ <arg value="versions:set" />
+ <arg value="-DgenerateBackupPoms=false" />
+ <arg value="-DnewVersion=${pom.project.version}" />
+ </exec>
+ <exec executable="${git}" dir="${asjs}" failonerror="true" >
+ <arg value="add" />
+ <arg value="." />
+ </exec>
+ <exec executable="${git}" dir="${asjs}" failonerror="true" >
+ <arg value="commit" />
+ <arg value="-m" />
+ <arg value="update other poms to current version" />
+ </exec>
+ </target>
+
<target name="maven.prepare">
+ <antcall target="update_other_release_poms" />
<!-- http://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html -->
<exec executable="${mvn}" dir="${asjs}" failonerror="true" >
<arg value="--batch-mode" />
--
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.