Hi,

just started this wiki page based on Chris instructions in this thread [1]
will be update to improve formatting and anything that could ease even more
the current info

[1]
https://github.com/apache/royale-asjs/wiki/Release-Manager-(New-to-be-tested)

El vie., 27 mar. 2020 a las 11:52, Carlos Rovira (<[email protected]>)
escribió:

> I think after this release this would be good to bring and discuss, I
> think it would be a huge simplification for this project :)
>
> El vie., 27 mar. 2020 a las 10:48, Christofer Dutz (<
> [email protected]>) escribió:
>
>> And let me add something ....
>>
>> If all three git repos were merged into one (No Git submodules don't work
>> as the tooling can't branch, commit push submodules) ... the release
>> process would boil down to this:
>>
>> 1) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:branch -DautoVersionSubmodules=true -DbranchName=release-test/0.9.8
>>
>> 2) git checkout release-test/0.9.8
>>
>> 3) mvn -P
>> with-distribution,with-examples,with-manualtests,option-with-swf
>> release:prepare -DautoVersionSubmodules=true
>> -Dtag=org.apache.royale.asjs-0.9.8-rc1
>>
>> 4) mvn release:perform
>>
>> However I would need to refactor the royale-maven-plugin in order to do
>> that. But I'd be happy to do it.
>>
>> Chris
>>
>>
>>
>> Am 27.03.20, 10:39 schrieb "Carlos Rovira" <[email protected]>:
>>
>>     Many thanks Chris :)
>>
>>     I think this is what Alex asked for.
>>     If Alex is ok, and Yishay wants to let me to try,  I can
>>     start official 0.9.7 in few hours
>>
>>     Thanks!
>>
>>
>>
>>     El vie., 27 mar. 2020 a las 10:29, Christofer Dutz (<
>>     [email protected]>) escribió:
>>
>>     > 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
>>     >
>>     >
>>
>>     --
>>     Carlos Rovira
>>     http://about.me/carlosrovira
>>
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to