jenkins-x-plugins/jx-release-version

First release version use base version

Closed this issue · 2 comments

If your project is new or has no existing git tags then running jx-release-version will return a default version of 0.0.1

Why not instead use the base version?
When no existing tags exists and the base version is 1.0.0, then jx-release-version should return a version of 1.0.0

It does not make sense to return 0.0.1 for the first release version if the base version is set to 1.0.0

I have a fix for this I have been trying out. It works and I can submit a PR for it.

feature merged to master