- Create a new Draft release on github
git clone https://github.com/jolibrain/platform_ui.git
cd platform_ui
./ci/release.sh
# by default, release a new patch version: v0.18.0 -> v0.18.1
# to release a minor version - v0.18.0 -> v0.19.0: ./ci/release.sh minor
- Edit newly created Draft release to publish it on github: https://github.com/jolibrain/platform_ui/releases
- Find release on jenkins
platform-ui-docker-buildtag tab, and press start icon to schedule a build: http://ip_ci/job/platform-ui-docker-build/view/tags/
ci/release.sh- runs
standard-versioncommand with--release-asoption with the argumentmajor,minororpatch(default) standard-versioncommand modifies the version number inpackage.json, this new version number will be used as thetagin the following commands- fetch changes from
CHANGELOG.mdand add them tonotes.md tagandnotes.mdare used to create a new release on github- Then, the new release will be available as a Draft on github release page, this Draft flag can be removed by editing the release information.
- runs
http://ip_ci/job/platform-ui-docker-build/
- configured to discover new tags on github
platform_uirepository: http://ip_ci/job/platform-ui-docker-build/configure - new tags appear in tag tab: http://ip_ci/job/platform-ui-docker-build/view/tags/
- when a tag is available, it can be schedule for a build. Using
v0.18.0as example: http://ip_ci/job/platform-ui-docker-build/view/tags/job/v0.18.0/build?delay=0sec
Jenkins script is available in platform_ui repository: ci/Jenkinsfile.docker:
- it runs the script
ci/build-docker-image.shto builddocker.jolibrain.com/platform_uidocker image, tag it with the correct version number and push it to docker hub. - it updates the dockerhub readme with
docker-pushrm: https://github.com/christian-korneck/docker-pushrm//