GitVersion
GitVersion copied to clipboard
[Feature] Set fallback version
I would like to be able to configure the fallback version (0.1.0) in the GitVersion.yml to specify the first version when there is no tag on the git repository. In my use case, i want the first version to be 1.0.0.
The only reason why you have the fallback version in the code is that at least one version will be returned. Of course it is quite unintentionally that this version is 0.1.0. It should be 0.0.0 with should increment true IMO. If you want the first version number in your project 1.0.0 then you should define this as next-version. Exactly for that purpose the next version configuration is there.
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs.