Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Apache OFBiz Release Plan (aka How to do an OFBiz Release)

NOTE DEJ20060909: This document is still being created and is not a final draft, but should contain most of the operations needed to create a release. We may want to add more sections on preparing for a release such as more on testing, and stuff on the NOTICE, LICENSE, KEYS, etc files.

Steps for testing a revision or branch before a release:

  1. For revision: svn export -r ${revision-number} http://svn.apache.org/repos/asf/incubator/ofbiz/trunk ofbiz
  2. For branch: svn export http://svn.apache.org/repos/asf/incubator/ofbiz/branches/$\{branch-name} ofbiz
  3. cd ofbiz
  4. ant run-tests
  5. Check results... (search for [JUNIT])

  6. cd ..
  7. rm -Rf ofbiz/

Steps for a test snapshot type "release":

  1. Example file-base-name: apache-ofbiz-incubating-4.0.0.RC1
  2. svn export http://svn.apache.org/repos/asf/incubator/ofbiz/trunk ofbiz
  3. cd ofbiz
  4. echo ${revision-number} > REVISION
  5. ant run-install
  6. cd ..
  7. zip -r ${file-base-name}.zip ofbiz/
  8. tar -czvf ${file-base-name}.tgz ofbiz/*
  9. gpg --output ${file-base-name}.zip.asc --detach-sig --armor ${file-base-name}.zip
  10. gpg --output ${file-base-name}.tgz.asc --detach-sig --armor ${file-base-name}.tgz
  11. openssl md5 ${file-base-name}.zip > ${file-base-name}.zip.md5
  12. openssl md5 ${file-base-name}.tgz > ${file-base-name}.tgz.md5

Steps for a branch in preparation for a real release:

  1. Exaple branch-name: release4.0.0
  2. svn co https://svn.apache.org/repos/asf/incubator/ofbiz
  3. svn copy trunk branches/${branch-name}
  4. svn commit -m "Created new branch: ${branch-name}"

Steps for creating a release from a branch:

  1. Example file-base-name: apache-ofbiz-4.0.0, or for framework only: apache-ofbiz-framework-4.0.0
  2. Example branch-name: release4.0.0
  3. svn export http://svn.apache.org/repos/asf/incubator/ofbiz/branches/$\{branch-name} ofbiz
  4. cd ofbiz
  5. For framework only release: rm -Rf applications/
  6. ant run-install
  7. cd ..
  8. zip -r ${file-base-name}.zip ofbiz/
  9. tar -czvf ${file-base-name}.tgz ofbiz/*
  10. gpg --output ${file-base-name}.zip.asc --detach-sig --armor ${file-base-name}.zip
  11. gpg --output ${file-base-name}.tgz.asc --detach-sig --armor ${file-base-name}.tgz
  12. openssl md5 ${file-base-name}.zip > ${file-base-name}.zip.md5
  13. openssl md5 ${file-base-name}.tgz > ${file-base-name}.tgz.md5
  • No labels