NQP's development release cycle is intimately tied to Rakudo's release cycle. There is no separate, independent release cycle for NQP; NQP must be tagged for release immediately prior to the Rakudo release.
MoarVM tries to have a synchronised release schedule with NQP and Rakudo, so there's most probably a release tag for MoarVM that you can bump tools/templates/MOAR_REVISION to. Release tags for MoarVM have the format
2016.02
. Find all of the tags withgit tag
in an up-to-date MoarVM checkout.Change the
VERSION
file in nqp:echo '2016.12' > VERSION git commit -m 'bump VERSION to 2012.12' VERSION git push
Make sure everything compiles and runs from a known clean state. This step is especially important if
MOAR_REVISION
was changed in step 1 above.make realclean perl Configure.pl --gen-moar --backend=moar,jvm make make m-test make j-test
Resolve any problems that may still exist. Issues that impact backends other than MoarVM may potentially be ignored for a release for now. Check on the IRC channel if you have any questions.
You will need a JDK (Java Development Kit) installed for building and running tests for the jvm backend. On Debian, you can install it with:
sudo apt-get install openjdk-11-jdk
Create a release tarball (needed for the Rakudo Star release) by entering
make release VERSION=YYYY.MM
, where YYYY.MM is the month for which the release is being made. This will create a tarball file namednqp-YYYY.MM.tar.gz
.Unpack the tar file into another area, and test that it builds and runs properly using the same process in step 3 above. If there are any problems, fix them and go back to step 3.
Tag NQP by its release month ("YYYY.MM")
git tag -u <email address> -s -a -m "tag release YYYY.MM" YYYY.MM # e.g., 2016.12 git push --tags
The
-s
tells git to sign the tag with your GPG key. Please see Rakudo's release guide for links on how to create GPG keys and upload them to GitHub, should it be necessary.Sign the tarball:
gpg -b --armor nqp-YYYY.MM.tar.gz
Upload the release tarball and signature to http://rakudo.org/downloads/nqp:
scp nqp-2013.12.tar.gz nqp-2013.12.tar.gz.asc \ [email protected]:public_html/downloads/nqp/
If you do not have permissions for that, ask one of (pmichaud, jnthn, FROGGS, masak, tadzik, moritz, PerlJam/perlpilot, [Coke], lizmat, timotimo, fsergot, hoelzro, Zoffix) on #raku or #raku-dev to do it for you.
If creating the NQP release as part of a Rakudo release, continue with the Rakudo release process.