-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add a CLI parameter to pass custom values for variables #255
Comments
@akordowski this sounds like a great addition to me! |
Great, then I will go to work the next days. |
@akordowski I really think that this is a good idea, so I would be happy if you wanted to spend some time implementing this. |
While I think this is a good idea, I don't want to hold up the next release while waiting on this to be implemented, so going to move this to a future milestone. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a CLI parameter to pass custom values for placeholder variables.
Detailed Description
With a CLI parameter custom values could be passed to replace placeholder variables in a text.
Context
In the current yaml config it is only possible to use current
owner, repository, milestone
variables as placeholder. E.g. in the configclose: issue-comment
property the{milestone}
placeholder is used for the version number. As below defined (example from the Cake project) the links wouldn't work, because the validv0.1.0
milestone is not a valid version number for the NuGet or Chocolatey packages. So it be good to have a parameter to pass custom values for placeholder.Possible Implementation
I suggest following implementation
--variables var1=value1;var2=value2
A semicolon or comma separated list of variables wit values
--placeholders var1=value1;var2=value2
I would like to implement the changes and provide a PR.
The text was updated successfully, but these errors were encountered: