-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto tag untagged release branch as snapshot #19
Comments
The real version is the full version, not the display one. But I agree with your point. To summarise, you would have:
|
I think I'll make this feature optional. In my case, I tag only at the very last time, when the publication is actually done. For everything, I'm only working with the full version, and the display version is just something I use for the... display and the final tagging (Git tagging, but also Docker image tagging). I'll try to work on this in the next days - but I'm quite busy with other matters so do not expect a quick feedback for now :( Any pull request is welcome though :) |
Code is ready for Git (I won't do it for Subversion, not now at least). Can you tell me if it looks OK? If yes, I'll release this asap. |
I have added the corresponding documentation in the main README. |
I'll take a look during the weekend at some point and will get back to you On Fri, Feb 6, 2015 at 1:38 PM, Damien Coraboeuf notifications@github.com
|
Take your time - I won't release before next week. |
Looks good to me; I only focused on the release branch features when |
If I do a versionDisplay in
release/1.0
and the branch has no tags thendisplay=1.0.0
, but this really isn't 1.0.0 yet. I think this should display1.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 yourHEAD
is at the tag then versionDisplay gives you1.0.1
. If a dev does a build at theHEAD=tag
they should get a version equal to the tag. If changes have been committed since the1.0.0
tag, but those changes haven't been tagged you should get1.0.1-SNAPSHOT
, until it's tagged then you'd get1.0.1
. Again, avoiding creating builds for tags not yet created.The text was updated successfully, but these errors were encountered: