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 3 Next »

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

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
  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. 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
  • No labels