-
Notifications
You must be signed in to change notification settings - Fork 39
Description
If I do a versionDisplay in release/1.0 and the branch has no tags then display=1.0.0, but this really isn't 1.0.0 yet. I think this should display 1.0.0-SNAPSHOT since this isn't 1.0.0 until it's tagged as such. Builds done from this branch would produce outputs for tags not yet created; causing confusion when QA reports back issues from these builds.
If this branch does have a tag for 1.0.0 and you do a versionDisplay even if your HEAD is at the tag then versionDisplay gives you 1.0.1. If a dev does a build at the HEAD=tag they should get a version equal to the tag. If changes have been committed since the 1.0.0 tag, but those changes haven't been tagged you should get 1.0.1-SNAPSHOT, until it's tagged then you'd get 1.0.1. Again, avoiding creating builds for tags not yet created.