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

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


The following commit(s) were added to refs/heads/release_practice by this push:
     new a1f8b8e  use profiles to only upload each artifact once instead of 
once per sub-module
a1f8b8e is described below

commit a1f8b8ec53ef1c87893af3de0bdd0391cff7a847
Author: Alex Harui <[email protected]>
AuthorDate: Tue Mar 5 11:27:06 2019 -0800

    use profiles to only upload each artifact once instead of once per 
sub-module
---
 pom.xml          | 3 +++
 releasesteps.xml | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index bb85747..930ed20 100644
--- a/pom.xml
+++ b/pom.xml
@@ -187,6 +187,9 @@
     </profile>
     <profile>
         <id>upload-release-to-staging</id>
+        <activation>
+            <activeByDefault>false</activeByDefault>
+        </activation>
         <modules><!-- only run on top-level, not for each module -->
         </modules>
         <build>
diff --git a/releasesteps.xml b/releasesteps.xml
index 4fc9bcc..910d41b 100644
--- a/releasesteps.xml
+++ b/releasesteps.xml
@@ -273,7 +273,7 @@
             <arg value="-X" />
             <arg 
value="-Dwagon.fromDir=${artifactfolder}/artifacts/archive/target/checkout/release-dir"
 />
             <arg value="-P" />
-            <arg value="upload-release-to-staging" />
+            <arg value="upload-release-to-staging,-main" />
         </exec>
     </target>
     

Reply via email to