Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Change the release number on Site developers page and doap_OFBiz.rdf file

...

  1. Check if there are any bugfixes in trunk which need to be backported to the release branch (see How should committers handle backporting?).
  2. Check all files are correctly licensed at https://nightlies.apache.org/ofbiz/stable/rat-output.html. For that you can use
    https://nightlies.apache.org/ofbiz/stable/rat-output.html for the current stable version
    https://nightlies.apache.org/ofbiz/next/rat-output.html for the current next version, ie the version never released yet
    You can include files that don't need license in https://github.com/apache/ofbiz-tools/blob/master/rat-excludes.txt
  3. Check no open blocker Jira issues are still pending:
    Jira
    serverASF JIRA
    jqlQueryfilter=12344205
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
  4. If you load a new gradle wrapper version, update shasum signature on $OFBIZ_HOME/gradle/init-gradle-wrapper.sh

    Code Block
    languagebash
    titleSHASUM GRADLE
    # checksum to verify the downloaded file
    SHASUM_GRADLE_WRAPPER_FILES="1d23286bcb9e7d3debff18c1b892b9dbb9a4ec6c  gradle/wrapper/gradle-wrapper.jar
    f9c2ad227ef1fe774cb0e141abfc431b05fc9fd4  gradle/wrapper/gradle-wrapper.properties
    b4a6a7e1dca81a692a775193fada937e035265f3  gradlew"


  5. Check if there are deprecated services to remove. That's easily done by looking for "has been deprecated and replaced by" in console.log.
  6. Update the developers page on site: https://ofbiz.apache.org/developers.html

Release Workflow

The workflow for a new release has four phases: preparing a candidate release, voting, publishing the release, announcing the release.

...

  1. Create a release tag named: release<YY.MM.NN>
    1. For example: release18.12.02
    2. Create the release tag on all the relevant repositories such as ofbiz-framework and ofbiz-plugins 
  2. Export/extract the release branch in a local folder named apache-ofbiz-<YY.MM.NN>
  3. Modify the following files in the main folder:
    1. edit the LICENSE file: if it is a framework+plugins release then simply remove the LICENSE file under plugins; if it is a framework only release then edit the LICENSE file to remove the references to plugins; if it is a plugin release that add NOTICE and check the validity of the LICENSE file (or add one if missing);
    2. put the release version number in the VERSION file.
  4. Remove the Gradle wrapper bin files
  5. Compress the exported folder as apache-ofbiz-<YY.MM.NN>.zip
  6. Create an OpenPGP Compatible ASCII Armored Detached Signature named apache-ofbiz-<YY.MM.NN>.zip.asc
  7. Create an SHA512 Checksum named apache-ofbiz-<YY.MM.NN>.zip.sha512
  8. Commit the 3 release files to https://dist.apache.org/repos/dist/dev/ofbiz/
  9. Change Update the release number on Site developers page and developers page on site: https://ofbiz.apache.org/developers.html and the doap_OFBiz.rdf file

Voting on a release

...