...
- Example file-base-name: apache-ofbiz-4.0.0, or for framework only: apache-ofbiz-framework-4.0.0
- Example branch-name: release4.0
- $ svn co https://svn.apache.org/repos/asf/ofbiz ofbizroot
- $ cd ofbizroot
- $ svn copy branches/${branch-name} tags/${file-base-name}
- $ cd ..
- $ svn export https://svn.apache.org/repos/asf/ofbiz/tags/$\{file-base-name}
- $ cd ${file-base-name}
- For framework only release: rm -Rf applications/
- $ "ant load-demo" on Windows or "./ant load-demo" on Linux/Unix/OSX ("ant run-install" or "./ant run-install" for versions prior to R12.04).
- $ cd ..
- $ zip -r ${file-base-name}.zip ${file-base-name}/
- $ tar -czvf ${file-base-name}.tgz ${file-base-name}/*
- $ gpg --output ${file-base-name}.zip.asc --detach-sig --armor ${file-base-name}.zip
- $ gpg --output ${file-base-name}.tgz.asc --detach-sig --armor ${file-base-name}.tgz
- $ gpg --print-md MD5 ${file-base-name}.zip > ${file-base-name}.zip.md5
- $ gpg --print-md MD5 ${file-base-name}.tgz > ${file-base-name}.tgz.md5
- $ gpg --print-md SHA512 ${file-base-name}.zip > ${file-base-name}.zip.sha
- $ gpg --print-md SHA512 ${file-base-name}.tgz > ${file-base-name}.tgz.sha
Release Management Guide
Some references to ASF official pages:
http://www.apache.org/dev/release
http://www.apache.org/dev/release-publishing.html
http://www.apache.org/dev/mirrors
New Release Workflow
The workflow for a new release has four phases: preparing a candidate release, voting, publishing the release, announcing the release
Preparing a Candidate Release
- create a release tag
- export the release branch in a folder named apache-ofbiz-<YY.MM.NN>
- add a file named revision.txt containing the revision number of the exported codebase
- zip the exported folder as apache-ofbiz-<YY.MM.NN>.zip
- create an OpenPGP Compatible ASCII Armored Detached Signature named apache-ofbiz-<YY.MM.NN>.zip.asc
- create an MD5 Checksum named apache-ofbiz-<YY.MM.NN>.zip.md5
- create an SHA512 Checksum named apache-ofbiz-<YY.MM.NN>.zip.sha
- commit the 4 release files to https://dist.apache.org/repos/dist/dev/ofbiz/
Publishing the Release
After a successful vote, the Candidate Release becomes an official Release and can be published:
- move the release files from https://dist.apache.org/repos/dist/dev/ofbiz/ to https://dist.apache.org/repos/dist/release/ofbiz/
Announcing the Release
These steps must be done after at least 24 hours after the release has been published (time required for the propagation of the release files in the mirrors network):
- Add a news item to the main page of the OFBiz website: http://ofbiz.apache.org/index.html
- Add the information about the release to the OFBiz download page: http://ofbiz.apache.org/download.html
- Add the information about the release to the release history page: http://www.apache.org/dist/ofbiz/
- Send an announcement to the user, dev and announce@apache.org lists; if the release contains vulnerability fixes send also to security@apache.org