-
Notifications
You must be signed in to change notification settings - Fork 5
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
Make it possible to define dirty mark #4
Comments
That's a nice use case, I agree that it would be good to support this. I would propose to change the option from boolean to string (with a falsey value meaning "no dirty mark at all") in the next major version that I'm planning. It's correct that the dirty state is not directly related to semver, but whether or not the repository is dirty is already indicated by the boolean When you say "the version string", do you mean |
With "the version string" I mean the raw output from |
Took a while, but I finally released v4.0.0. Now there is an option |
Currently
-dirty
is appended to the version string when the repository is dirty. It would be cool with an option to define what should be appended (e.g. I want to append the current username).Side note: Also. I don't understand why the dirty option is prepended with
semver
as it doesn't really have anything to do with semver that it is dirty.The text was updated successfully, but these errors were encountered: