- 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-build
tag tab, and press start icon to schedule a build: http://ip_ci/job/platform-ui-docker-build/view/tags/
ci/release.sh
- runs
standard-version
command with--release-as
option with the argumentmajor
,minor
orpatch
(default) standard-version
command modifies the version number inpackage.json
, this new version number will be used as thetag
in the following commands- fetch changes from
CHANGELOG.md
and add them tonotes.md
tag
andnotes.md
are 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_ui
repository: 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.0
as 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.sh
to builddocker.jolibrain.com/platform_ui
docker 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//