vitech-team-sdlc / SDLC

SDLC approach for V.I.Tech team
https://vitechteam.com/
Apache License 2.0
4 stars 1 forks source link

Reuse new JX release plugin for version bump #116

Open serhiykrupka opened 3 years ago

serhiykrupka commented 3 years ago

Overview

Upgrade default SDLC task jx-setup with new jx plugin jx-release-version for detecting next version of release.

Bug

One bug with releases also exists, for example when you kick off release build by merging PR into master, and this build failed and after that, you start a new release build as a result commits from previous not released merge wouldn't be included into the change log.

What to update?

https://github.com/vitech-team/sdlc-charts/blob/db8a962204a7646fffce7ad839ed041321e10994/charts/tektonpipelines/templates/tasks/jx-setup-task.yaml#L176

Docs

(Check semantic release) https://github.com/jenkins-x-plugins/jx-release-version#calculating—the-next-version

Usage example

https://github.com/jenkins-x/jx3-pipeline-catalog/blob/f616b14eed6601bf12afbd2db0b18a8b7cab623f/tasks/gradle/release.yaml#L26