Table of Contents |
---|
How to cut a new Apache Empire-db
...
release.
This document explains how to cut a new empire-db release. Since we normally do this in Linux I expect you to have a Linux enironment at hand. For windows users Cygwin might be a solution. This document is based on the Maven release documentation.
The general incubator release guide is available here: http://incubator.apache.org/guides/releasemanagement.html
but since we are out of incubation the docs are here: http://www.apache.org/dev/release
The apache central maven repo release guide is available here: http://www.apache.org/dev/publishing-maven-artifacts.html
...
Info | ||
---|---|---|
|
Code Block |
---|
>mvn5 clean install ... >mvn5 clean release:clean ... >mvn5 release:prepare -Papache-release ... [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "Apache Empire-db Parent"? (org.apache.empire-db:empire-db-parent) 2.0.5-incubating: : What is SCM release tag or label for "Apache Empire-db Parent"? (org.apache.empire-db:empire-db-parent) empire-db-parent-2.0.5-incubating: : apache-empire-db-2.0.5-incubating-rc3 What is the new development version for "Apache Empire-db Parent"? (org.apache.empire-db:empire-db-parent) 2.0.6-incubating-SNAPSHOT: : [INFO] Transforming 'Apache Empire-db Parent'... [INFO] Updating empire-db to 2.0.5-incubating ... |
INFO: If during this prepare you get some subversion related errors, try to do an "svn update" and calling "mvn release:prepare" again. This will then continue the release preparation from where it stopped. You might have to do this multiple times!
...
Code Block |
---|
>svn checkout https://svn.apache.org/repos/asf/incubator/empire-db/tags/apache-empire-db-2.0.5-incubating-rc3 ... >cd apache-empire-db-2.0.5-incubating-rc3/empire-db-dist/ >mvn5 clean install -Papache-release >./checksums.sh ... All Done. Files available in ./target |
...
Code Block |
---|
>ssh people.apache.org >rm public_html/empire-db/apache-empire-db*.pom* >exit |
Initiate a vote
As we are currently in the incubator we need two voting rounds. Fist we need a non-binding community vote on the dev@ list. After that we need a IPMC / Mentor vote on general@. It's also a good idea to point our mentors to that vote by ding a post on private@.
...
Wiki Markup |
---|
Subject: \[VOTE\] Release Apache Empire-db 2.0.5-incubating (rc3) |
Hi,
We have just prepared a 2.0.5 -incubating release and we are now looking for approval of the PMC to publish the release. Once the community approves the release we will have a second binding release round for IPMC members.
OR
The Apache Empire-db community has approved the 2.0.5 -incubating release and we are now looking for approval of the IPMC to publish the release.
These are the major changes from our previous 2.0.4 -incubating release:
- xxx
- xxx
Changelog: http://svn.apache.org/viewvc/incubator/empire-db/tags/apache-empire-db-2.0.5-incubating-rc3rc3/CHANGELOG.txt?view=co
Subversion tag: https://svn.apache.org/repos/asf/incubator/empire-db/tags/apache-empire-db-2.0.5-incubating-rc3
Maven staging repository: https://repository.apache.org/content/repositories/orgapacheempire-db-044/
Distribution files are located here http://people.apache.org/~francisdb/empire-db/
Rat report for the tag is available here: http://people.apache.org/~francisdb/empire-db/rat.txt
Vote open for 72 hours.
[ ] +1
[ ] +0
[ ] -1
...
- Drop the staging repository in nexus
- Update the local code
- Use the maven versions plugin to roll back the version update
Code Block > mvn versions:set -DnewVersion=2.0.7-incubating-SNAPSHOT -Papache-release
- Commit the project
- Go to the create new RC step
...
Just use your prefered subversion tool to copy the rc tag to the final release tag
apache-empire-db-2.0.5-incubating-rc3 -> apache-empire-db-2.0.5-incubating
Promote the nexus staging files
...
Move the release files to the dist location
this part needs an update as we are out of the incubator/snvpubsub http://www.apache.org/dev/release#upload-ci
- Log on to people.apache.org
- Go to /www/www.apache.org/dist/incubator/empire-db
- Create a subdirectory with the version number (i.e. 2.0.5)
- Copy all distribution files from your home directory to that directory (.zip, .tar.gz, .asc, .md5, .sha)
- Possibly change write permissions of that directory and all files to allow group members to add / modify files (although they should never ever change again)
- Wait (one day) before files become available on the mirrors
Update the Empire-db website
this part needs an update as we are out of the incubator/snvpubsub
- Check out the Empire-db website source files from https://svn.apache.org/repos/asf/incubator/empire-db/site
- Edit Pages with html editor (I am using Microsoft Expression Web)
- Open page downloads/latest.htm and copy section with previous release files to downloads/previous.htm.
- In downloads/latest.htm replace all reference to old version number with new version number.
- Update news.html
- so a svn delete on javadocs/empire-db
- commit
- recreate the empire-db folder
- fetch the new javadoc jar from http://repo1.maven.org/maven2/org/apache/empire-db/empire-db/2.0.7-incubating/empire-db-2.0.7-incubating-javadoc.jar
- extract into the javadocs/empire-db folder
- svn add the empire-db folder
- Commit all changes to svn repo.
- Log on to people.apache.org using ssh
- Goto /x1/www/incubatorempire-db.apache.org/empire-db
- Run "svn update" command.
- Don't forget to add write permissions of all changed files for group and all users (change from 0x644 to 0x664)-
- Wait some time for changes to become available on the mirrors.
- Remove all old releases from the /www/www.apache.org/dist/incubator/empire-db folder, only one (latest) release per branch allowed.
...