-
Notifications
You must be signed in to change notification settings - Fork 62
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
Passing version as a command-line parameter to prerelease
and fullrelease
#368
Comments
prerelease
and fullrelease
We do not have many command line options, we only have options for verbose, help, and no-input, neither of which I use. :-) I prefer to just answer the questions, mostly just pressing Enter to accept the default answers. But the I guess the trickiest may be that you end up getting values from too many places, making it harder to see where a command got a value from:
For most of those, it gives a default value, and we still ask a question about it, for which you can accept the default, or override it. During the postrelease phase, we should do nothing with this version option. But calling @reinout Are you okay with adding more command line options to |
The Brainstorming: is there a way to do it in a more generic way? We have those nice documented data dictionaries (https://zestreleaser.readthedocs.io/en/latest/entrypoints.html#common-data-dict-items), is there something we can do with that? |
I'm using zest in a project and was wondering if it'd be possible to pass
--version=a.b.c
as a command-line parameter to theprerelease
/fullrelease
commands? I'm using zest as part of an automated release Github Actions workflow, so it'd be super handy to be able to pass the desired version directly from the workflow input to the command, rather than implementing some kind of custom logic or using different workflows for major/minor releases.I'd be happy to submit a PR making the change if that sounds sensible!
The text was updated successfully, but these errors were encountered: