-
Notifications
You must be signed in to change notification settings - Fork 38
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
Creating draft release with inputFilePath specified does not use content #476
Comments
When looking at this, it looks more like we need some validation. Using a milestone combined with an input file path is incompatible with each other, so we should probably throw an exception in the beginning with this invalid combination instead. As such, I'll change this to a breaking change instead. |
This updates how arguments are parsed when attempting to create a new release. This disallows explicitly the use of a milestone, and an input file path in the same call. This is done as there was confusion on why specifying a input file path was not using the release notes specified. This should make it clearer to the caller what the issue is.
This updates how arguments are parsed when attempting to create a new release. This disallows explicitly the use of a milestone, and an input file path in the same call. This is done as there was confusion on why specifying a input file path was not using the release notes specified. This should make it clearer to the caller what the issue is.
This updates how arguments are parsed when attempting to create a new release. This disallows explicitly the use of a milestone, and an input file path in the same call. This is done as there was confusion on why specifying a input file path was not using the release notes specified. This should make it clearer to the caller what the issue is.
(#476) Add validation of input file path handler
🎉 This issue has been resolved in version 0.17.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Description
When you create a draft release using git release manager and have specified the file to use in release notes using the
--inputFilePath
argument, it is not being used when drafting the release notes.Instead it collects the issues needed in the same way as if you never specified the input file path.
Expected Behavior
I would expect GRM to make use of the file that was specified as an
inputFilePath
instead of doing its own collection of the issues to add.Actual Behavior
Already mentioned, but GRM create always collects the issues it want, instead of respecting the input file path argument.
Possible Fix
Unknown
Steps to Reproduce
dotnet gitreleasemanager create --token "<GITHUB_TOKEN>" -o "<REPO_USER>" -r "<REPO_NAME>" -m "0.1.0" -i "<PATH_TO_RELEASE_NOTES>" -c "<BRANCH>"
Context
Unable to create the release notes automatically for repositories not following the same convertion as GRM.
Your Environment
The text was updated successfully, but these errors were encountered: