...
- 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:
Call the script. To do a full release you simply call
doCode Block language bash ./
openlmis-releaserelease-
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 language bash ./release-reference-ui.sh ui-components referencedata-ui auth-ui
- Create tags and prepare a release on the GitHub.