-
Notifications
You must be signed in to change notification settings - Fork 68
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
[ISSUE]: gitrealeasemanager/create
does not include targetcommitish
and inputFilePath
parameters
#1432
Comments
The workaround to this issue, of course, is to just call the command-line manually in the workflow instead of using the Action. This is currently working for me: - run: >
$RUNNER_TOOL_CACHE/GitReleaseManager.Tool/0.18.0/dotnet-gitreleasemanager create
--owner ${{ github.repository_owner }}
--token ${{ secrets.GITHUB_TOKEN }}
--repository my-repo
--targetDirectory ${{ github.workspace }}
--targetcommitish ${{ github.sha }}
--name v${{ steps.gitversion.outputs.semVer }}
--inputFilePath ReleaseNotes.md |
@TaffarelJr you are right. Are you in a position to create a PR? Settings:
Inputs:
Tests:
|
please use |
#1432 - fix inconsistent arguments for GRM create
🎉 This issue has been resolved in version v3.1.2 🎉 Your GitReleaseManager bot 📦🚀 |
Prerequisites
GitVersion package
GitHub Actions
What are you seeing?
When using the
gitreleasemanager/create
action, there are parameters defined fortargetcommitish
andinputFilePath
; however, upon execution, those parameters are not included in the command line sent todotnet-gitreleasemanager
.Sample GitHub Action:
Command-line generated from the above Action (wrapped for readability):
/opt/hostedtoolcache/GitReleaseManager.Tool/0.18.0/dotnet-gitreleasemanager create --owner my-org --token *** --repository my-repo --targetDirectory /home/runner/work/my-repo/my-repo --name v1.2.3
(
--targetcommitish
and--inputFilePath
command-line parameters left out)What is expected?
--targetcommitish
and--inputFilePath
command-line parameters should be included, as specified in the Action:/opt/hostedtoolcache/GitReleaseManager.Tool/0.18.0/dotnet-gitreleasemanager create --owner my-org --token *** --repository my-repo --targetDirectory /home/runner/work/my-repo/my-repo --targetcommitish edf8f64259dca665f01c1da5fff9650b7e342b69 --name v1.2.3 --inputFilePath ReelaseNotes.md
Steps to Reproduce
Include the
targetcommitish
andinputFilePath
parameters in a GitHub Action,and observe the corresponding
--targetcommitish
and--inputFilePath
command-line parameters are not generated.Output log or link to your CI build (if appropriate).
The text was updated successfully, but these errors were encountered: