-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Enable profile if release (of if dirty) #62
Comments
The profile activation does not work because the jgitver is fired too late in the build process to be picked up by the any of the Regarding your demand of a |
Thanks for taking the time to reploy this
I see
I understand that with jgitver there is no release per-se. What I actually meant is a concept opposed to It can be argued thow that given that when
IMHO this would be the ideal solution, brings the freedom to the user to do whatever they want in the best place possible because here maven even support the negation with |
@vromero please look at following it tests issue-62.1 & issue-62.2. I think latest version will answer your needs. If not let's continue discussions. |
That is great! thank you! |
Works like a charm, thanks! |
Glad to hear that! |
Issue
version: 1.0.0
usage context:
Problem description:
I keep finding myself needing to do special things when on a release that doesn't happen on a dirty build or the other way around. The good-old release plugin that this extension deprecates had the releaseProfiles that could be activated only on releases. I believe jgitver should support either of the following:
releaseProfiles=commaSeparatedProfiles
and/ordirtyProfiles=commaSeparatedProfiles
jgitver.dirty
a systemProperty, so profiles could be activated byjgitver.dirty
or!jgitver.dirty
(I assume this should work already but for some reason it doesn't).The text was updated successfully, but these errors were encountered: