Repository: activemq-artemis Updated Branches: refs/heads/master 4bf204c01 -> 24e18fdf6
NO-JIRA: update release guide to use dist dev repo Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/145a94f7 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/145a94f7 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/145a94f7 Branch: refs/heads/master Commit: 145a94f75a20d159195faf6645305c8b96068a06 Parents: 4bf204c Author: Robbie Gemmell <rob...@apache.org> Authored: Mon Sep 25 17:11:48 2017 +0100 Committer: Clebert Suconic <clebertsuco...@apache.org> Committed: Tue Sep 26 13:33:21 2017 -0400 ---------------------------------------------------------------------- RELEASING.md | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/145a94f7/RELEASING.md ---------------------------------------------------------------------- diff --git a/RELEASING.md b/RELEASING.md index 1db4bdf..7ecda2e 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -100,27 +100,51 @@ The file will be located under ./artemis-pom/RELEASE/ Remove these files manually under Nexus while the repository is still open. -### Web site update: +## Stage the release to the dist dev area -Make sure you get a copy of the website at: +Use the closed staging repo contents to populate the the dist dev svn area +with the official release artifacts for voting. Use the script already present +in the repo to download the files and populate a new ${CURRENT-RELEASE} dir: ```sh -svn co https://svn.apache.org/repos/infra/websites/production/activemq/content/artemis/ +svn co https://dist.apache.org/repos/dist/dev/activemq/activemq-artemis/ +cd activemq-artemis +./prepare-release.sh https://repository.apache.org/content/repositories/orgapacheactivemq-${NEXUS-REPO-ID} ${CURRENT-RELEASE} ``` +Give the files a check over and commit the new dir and start a vote if all looks well. Old staged releases can be cleaned out periodically. -### Upload release +## Promote artifacts to the dist release area -Upload the binaries at this svn, using your apache id: +After a successfull vote, populate the dist release area using the staged +files from the dist dev area to allow them to mirror. ```sh -https://dist.apache.org/repos/dist/release/activemq +svn cp -m "add files for activemq-artemis-${CURRENT-RELEASE}" https://dist.apache.org/repos/dist/dev/activemq/activemq-artemis/${CURRENT-RELEASE} https://dist.apache.org/repos/dist/release/activemq/activemq-artemis/${CURRENT-RELEASE} ``` +It can take up to 24hrs for there to be good mirror coverage. Mirror status can be viewed at https://www.apache.org/mirrors/. + +## Web site update: -You may get the valid binaries from this maven central location: +Make sure you get a copy of the website at: + +```sh +svn co https://svn.apache.org/repos/infra/websites/production/activemq/content/artemis/ +``` + + +## Cleaning older releases out of the dist release area + +Only the current releases should be mirrored. Older releases must be cleared: + +```sh +svn rm -m "clean out older release" https://dist.apache.org/repos/dist/release/activemq/activemq-artemis/${OLD-RELEASE} +``` +Any links to them on the site must be updated to reference the ASF archive instead at +https://archive.apache.org/dist/activemq/activemq-artemis/ -https://repo1.maven.org/maven2/org/apache/activemq/apache-artemis/${CURRENT-RELEASE} +Ensure old releases are only removed after the site is updated in order to avoid broken links. ## Common Pittfals