Awesome

________________________________
From: [email protected] <[email protected]>
Sent: Monday, April 27, 2020 8:56:00 AM
To: [email protected] <[email protected]>
Subject: [royale-asjs] branch release/0.9.7 updated: add retry task if wagon 
fails

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

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


The following commit(s) were added to refs/heads/release/0.9.7 by this push:
     new adeb2e3  add retry task if wagon fails
adeb2e3 is described below

commit adeb2e3782b59342d9132adccaf357aeece32475
Author: Alex Harui <[email protected]>
AuthorDate: Sun Apr 26 22:55:41 2020 -0700

    add retry task if wagon fails
---
 releasesteps.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/releasesteps.xml b/releasesteps.xml
index 729a6fc..d0f3f0a 100644
--- a/releasesteps.xml
+++ b/releasesteps.xml
@@ -836,6 +836,23 @@
             <arg value="_releasesteps-upload-release-to-staging" />
         </exec>
     </target>
+    <target name="retryUploadSWCs" depends="get-artifact-folder" 
description="upload all SWCs except Jewel Themes">
+        <fail message="release.version not specified"
+        unless="release.version"/>
+        <fail message="rf_arg not specified"
+        unless="rf_arg"/>
+        <exec executable="${mvn}" dir="${artifactfolder}/sources" 
failonerror="true" >
+            <arg value="wagon:upload" />
+            <arg value="-X" />
+            <arg value="-rf" />
+            <arg value="${rf_arg}" />
+            <arg 
value="-Dwagon.fromDir=${artifactfolder}/artifacts/archive/target/local-release-dir"
 />
+            <!--arg value="-Dwagon.includes=**" />
+            <arg value="-Dwagon.excludes=**/Jewel-Dark*/**,**/Jewel-Light*/**" 
/-->
+            <arg value="-P" />
+            <arg value="_releasesteps-upload-release-to-staging" />
+        </exec>
+    </target>
     <target name="uploadJewelDark" depends="get-artifact-folder" 
description="upload Jewel Dark Themes">
         <fail message="release.version not specified"
         unless="release.version"/>

Reply via email to