Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Set OLMIS_HOME environmental variable to the directory you store all the UI repositories in.
  • The script fileĀ release-reference-ui.sh.

What the script does:

  • setting the correct version and date in the CHANGELOG.md
  • getting rid of the SNAPSHOT suffix
  • bumping the version to the new SNAPSHOT
  • waiting for the image to be published on Docker Hub
  • setting correct commit message depending on whether we're releasing the module or just bumping dependency version
  • releasing components in the correct order
  • it allows you to release only a set of components
  • introduces concurrency where it makes sense

...

  • check the correctness of the CHANGELOG.md file, it only sets a correct header
  • create tags... yet
  • allow the release of release candidates... yet

Steps:

  1. Call the script. To do a full release you simply call

    Code Block
    languagebash
    ./
    do
    release-
    openlmis-release
    reference-ui.sh

    To only release a set of the UI modules simply pass them as the arguments. No specific order is required, the script will handle it. Example:

    Code Block
    languagebash
    ./release-reference-ui.sh ui-components referencedata-ui auth-ui


  2. Create tags and prepare a release on the GitHub.