-
Notifications
You must be signed in to change notification settings - Fork 80
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
Invalid argument: you must set TAG and PATH name. #122
Comments
I think it should be:
|
This wording was changed in 18e9052, it's possible this issue was fixed as well. Are you on the latest version? |
Seems like this is not the latest version. I'm currently using the CircleCI image |
So now I get the new error message, but the error itself remains.
|
I think i might see the issue in the code, but I'm not part of the team. Once i get a chance to try this I'll see if i get the same error. |
What piece of code do you have in mind? |
Line 70 of cli.go. i think its counting your flagged params, (token, etc.) In the count. The code appears to fail now if its not exactly 1 or 2 params, the way im looking at it |
I am also facing the same issue. |
Yes: The error occured because one of the flags (i.e. one of the environment variables) was empty, and ghr thought the path argument would be missing... yes, pretty weird. I could fix the error by quoting the environment variables:
That showed me that I provided an empty value for a certain flag, which I fixed then. |
This also happens if you give wildcard for the path field.. That is |
Ran into this as well, it looks like @dominikbraun can you close this issue? Since the problem was not on the |
Just adding here that this happened to me when I didn't have my github token available to the cli. The error message isn't great and this would possibly benefit from better error messages |
Hi,
in my CI, I'm running
to create my GH release using artifacts from the
artifacts
directory. Unfortunately, the following error occurs:Any ideas?
The text was updated successfully, but these errors were encountered: