Prerequisites: before running these steps, make sure that PLAYERGLOBAL_HOME is 
set and that PlayerGlobal is installed under 
<PLAYERGLOBAL_HOME>/11.7/playerglobal.swc.

Complete the release-manager setup in the Release Manager Notes before Step 5: 
https://github.com/apache/royale-asjs/wiki/Release-Manager-Notes#svn and 
https://github.com/apache/royale-asjs/wiki/Release-Manager-Notes#localproperties

In particular, Release_Step_013_Upload requires my.name and svn.dist.dev to be 
supplied to Ant. For these commands, set them in the Git-ignored 
local.properties file in the royale-asjs repo (or supply them via 
-propertyfile). The SVN working copy must contain dev/royale, and svn.dist.dev 
must point to its dev directory.

>From the royale-asjs repo
1. Run ant -f releasesteps.xml Release_Step_013 -Drelease.version=1.0.0 
-Droyale.swc-date="14/08/26 17:03 +0000" -Dplayerglobal.version=11.7 
-Dflat.donot.ask=true -Drc=5 -DskipTests=true
This will download the artifacts then unzip and compile the source artifact.
2. Validate that the compiled artifacts match the downloaded artifacts.
3. If they do, then run ant -f releasesteps.xml Release_Step_013_Sign 
-Drelease.version=1.0.0
This will PGP sign the source and convenience binary packages
4. Run the approval script locally before uploading, so that anything a PMC 
reviewer would reject is found while the RC can still be re-cut. Create an 
empty folder and copy into it ApproveRoyale.xml plus the signed src and bin 
archives with their .asc and .sha512 files. The bin archives must sit beside 
the src archives, not in a binaries subfolder. Then run:
   ant -f ApproveRoyale.xml -Drelease.version=1.0.0 -Drc=5 main-no-download
It prompts for review of the RAT reports, README, RELEASE_NOTES, NOTICE and 
LICENSE. Check that the top-level RELEASE_NOTES has an entry for this release 
and that NOTICE shows the current copyright year; those files come from 
royale-asjs/releasemgr, so updating royale-asjs/NOTICE or RELEASE_NOTES.md does 
not update them.
5. Then run ant -f releasesteps.xml Release_Step_013_Upload 
-Drelease.version=1.0.0 -Drc=5
This updates the local dist/dev SVN working copy, stages the signed artifacts 
under royale/1.0.0/rc5, then prompts for Apache SVN credentials and commits the 
RC.

Reply via email to