THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Preparation
- Verify the code builds cleanly using
mvn clean site:site install
. Make sure you have a PGP key of at least 4096 bits in the RSA format added to the KEYS file in addition to a public PGP key server such as http://keyserver.ubuntu.com and pgp.mit.edu.
Release Candidate
- Set the version manually in
pom.xml
to the release version and commit. - With a clean checkout of master, execute
mvn site:site
to generate the documentation. - Edit
src/changes/changes.xml
and set the release date of the next release and commit. - Run
mvn site:stage -DstagingDirectory=$HOME/chainsaw
and verify the site looks right. - Run
mvn install
- Publish
target/site/
files to a staging site(https://github.com/apache/logging-chainsaw-site, branch asf-staging) - Tag the RC
- Create the source archive for the RC
- git archive --format=tar.gz [tag-name] > target/apache-chainsaw-[version]-src.tar.gz
- git archive --format=zip [tag-name] > target/apache-chainsaw-[version]-src.zip
- Execute
sign-artifacts.sh MY-PGP-KEY-ID
to generate the .asc and .sha512 files for built artifacts. - Copy
target/apache-chainsaw-*-bin.* target/apache-chainsaw-*-standalone.*
to https://dist.apache.org/repos/dist/dev/logging/chainsaw/ and commit to SVN. - Create a release candidate tag using
git tag -u MY-PGP-KEY chainsaw-X.Y.Z-rcN && git push --tags
- Make a release candidate vote email and send to dev@logging.apache.org.
Release Vote Passes
- Copy the accepted release candidate tag:
git tag -u MY-PGP-KEY chainsaw-X.Y.Z chainsaw-X.Y.Z-rcN && git push --tags
- Move artifacts from https://dist.apache.org/repos/dist/dev/logging/chainsaw/ to https://dist.apache.org/repos/dist/release/logging/chainsaw/X.Y.Z
- This can be done via the command:
svn cp ^/dev/logging/chainsaw/ ^/release/logging/chainsaw/X.Y.Z/
- This can be done via the command:
- Commit site to
https://svn.apache.org/repos/infra/websites/production/logging/content/chainsaw/X.Y.Z
and update the2.x
symlink to point to that directory.- Add in any special modifications to the site based on vote thread feedback (make sure to also commit to git if not done already).
- Set the version in
pom.xml
to a new snapshot. - Send announcement email.
Release Vote Fails
- Remove artifacts from https://dist.apache.org/repos/dist/dev/logging/chainsaw/
- Start from beginning and try again!
Manual Steps
- Version numbers and tags are managed manually at the moment.
- Download URLs for artifacts are currently written in manually.
- CSS fixes are applied manually.