We are developing a software that gets released every few months, and it is either a major version (
2.0.0) or a minor version (->
1.1.x). This version is visible in the software, say that we have a variable for it like this:
var version = '1.0.0';
and then it's displayed somehow:
When we release 1.0.0 and start working on "vNext", it just feels wrong to leave 1.0.0 there because all the developers and testers will see a "wrong" version in the app. However, at that point we are not sure what the next version will be called - it might be 1.1 or 2.0. I've thought about possibly just marking the next version as "DEV" so that there is no expectation of a certain version number but am not sure this is a good idea (and it's certainly not in semver format so some other code may be broken if it works with the version number in any way). Another idea was to just call it "post-1.0" but that's not a proper version format, too.
Have you ever run into this situation, and how did you deal with it?