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
An option or subcommand that shows only the version number #249
Comments
+1 to this - I also think we need a way to unify versioning between git tags and the hardcoded string in the swift file. I'm not really sure of a good way to do this - SPM/mint/etc. uses tags, whereas the --version command would need some way of updating the string (maybe via resources/some other CD job) Also, this is a good enough reason to replace |
Yeah! I agree with your suggestion totally.I think updating the hardcoded version string to be always in sync with the tag is something we need. I imagine a manually triggered CD job that:
|
Do you think it is good we do this in |
Yeah - especially if we modify the current I'm surprised that SPM doesn't have a solution for this.. But yeah a CD job like you outlined would make sense. Maybe a Having a central release job would work since we could do this and other things like update the homebrew repo and whatever else |
I think we need an option/subcommand to show only the version number and exit with 0 status.
This command will become handy when submitting bugs. Users ideally should mention the version they are using and having problems with.
xchtmlreport -v
is already taken soxchtmlreport --version
?The text was updated successfully, but these errors were encountered: