Hi All,

As I don’t have access to a WIKI … here comes a step by step guide for 
releasing Royale with Maven:

Prepare:
export 
FLASHPLAYER_DEBUGGER="/Users/some-username/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
 Player.app/Contents/MacOS/Flash Player Debugger"

---------------------------------------------------------------
Release Compiler
---------------------------------------------------------------

Branch:
---------------------------
mvn -P option-with-swf release:branch -DautoVersionSubmodules=true 
-DbranchName=release-test/0.9.8
     Just press enter on every question Maven asks you ...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.963 s
[INFO] Finished at: 2020-03-26T20:39:53+01:00
[INFO] Final Memory: 18M/77M
[INFO] ------------------------------------------------------------------------


Release:
---------------------------
git checkout release-test/0.9.8

mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true 
-Dtag=org.apache.royale.compiler-0.9.8-rc1
     Select the suggested versions by hitting enter

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:57 min
[INFO] Finished at: 2020-03-26T20:45:22+01:00
[INFO] Final Memory: 22M/84M
[INFO] ------------------------------------------------------------------------

mvn release:perform

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:04 min
[INFO] Finished at: 2020-03-26T20:49:58+01:00
[INFO] Final Memory: 18M/77M
[INFO] ------------------------------------------------------------------------

---------------------------------------------------------------
Release Typedefs
---------------------------------------------------------------

Branch:
---------------------------
mvn -P option-with-swf release:branch -DautoVersionSubmodules=true 
-DbranchName=release-test/0.9.8
     Just press enter on every question Maven asks you ...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:09 min
[INFO] Finished at: 2020-03-26T20:58:28+01:00
[INFO] Final Memory: 26M/100M
[INFO] ------------------------------------------------------------------------


Release:
---------------------------
git checkout release-test/0.9.8

edit the pom.xml and update the compiler version to the released versions (Cut 
off the "-SNAPSHOT")

commit and push the changes

mvn -P option-with-swf release:prepare -DautoVersionSubmodules=true 
-Dtag=org.apache.royale.typedefs-0.9.8-rc1
     Select the suggested versions by hitting enter

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:37 min
[INFO] Finished at: 2020-03-26T21:08:13+01:00
[INFO] Final Memory: 26M/60M
[INFO] ------------------------------------------------------------------------

mvn release:perform

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.749 s
[INFO] Finished at: 2020-03-26T21:14:44+01:00
[INFO] Final Memory: 23M/90M
[INFO] ------------------------------------------------------------------------

---------------------------------------------------------------
Release Framework
---------------------------------------------------------------

Branch:
---------------------------
mvn -P with-distribution,with-examples,with-manualtests,option-with-swf 
release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
     Just press enter on every question Maven asks you ...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:51 min
[INFO] Finished at: 2020-03-26T21:25:56+01:00
[INFO] Final Memory: 58M/207M
[INFO] ------------------------------------------------------------------------


Release:
---------------------------
git checkout release-test/0.9.8

edit the pom.xml and update the compiler- and typedefs versions to the released 
versions (Cut off the "-SNAPSHOT")

commit and push the changes

mvn -P with-distribution,with-examples,with-manualtests,option-with-swf 
release:prepare -DautoVersionSubmodules=true 
-Dtag=org.apache.royale.asjs-0.9.8-rc1
     Select the suggested versions by hitting enter

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:38 min
[INFO] Finished at: 2020-03-27T09:57:09+01:00
[INFO] Final Memory: 63M/227M
[INFO] ------------------------------------------------------------------------

mvn release:perform

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:02 min
[INFO] Finished at: 2020-03-27T10:16:44+01:00
[INFO] Final Memory: 41M/150M
[INFO] ------------------------------------------------------------------------

---------------------------------------------------------------
DONE!

I did a clean fork for this and updated the SCM and distributionManagement to 
use my github fork and my private Nexus for deployment … it worked great (After 
fixing 1-2 things in the ASJS repo … which weren’t found earlier as we never 
got this far). Also did I do a fake 0.9.8 release as my fork of the official 
repo had lots of relics from previous 0.9.7 release attempts. So don’t be 
confused ;-)

The Net execution time of all steps were 1:04:36 … add a few minutes for 
switching branches, changing pom-versions and stuff like that …

So is this the thing you folks were asking for?

Chris

Reply via email to