-
Notifications
You must be signed in to change notification settings - Fork 253
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
Error: Invalid format '├── https://github.com/sponsors/broofa' #237
Comments
+1 Seeing the same issue. I've locked the version on all the flows where i use this action like this:
and got back on track. |
Okay so it seems that using 10.1.1 works but not v11 |
do you see anything obviously broken in this PR? https://github.com/phips28/gh-action-bump-version/pull/232/files this was the last merge before bumping to v11. @mattanglin can you help please? |
Same issue to me and again using yarn workspaces |
The culprit seems to be parseNpmVersionOutput. It does returns an invalid version number I think due to some weirdness in the outpout |
I mean everything else seems to be just linting |
Not to be "that guy," but is a fix in the works? 🙂 It's been a couple of weeks since the last comment. I'd love to get up to a version of the action that's on Node 20, but the current version breaks my build pipeline. |
@mbret @sernaferna for me the action works properly, so there might be some packages/setup in your repo that breaks that flow. can you test I added some logs to check what your repo outputs: And can you share your package.json dependencies so I can reproduce it? |
Sorry for the delay, haven't been in my home office. This is a monorepo with 8 sub-projects and some of them have a ton of dependencies, but before we go down that path, the logs might be enough on their own because my output looks different from yours. For reference, this is for a monorepo called soulhx and the sub-project is also named soulhx:
|
yeah im not sure we need to reproduce, I believe there are some weird characters in some of the repo (mine was mui) which seems to break some code. You can try to add mui to see if you can reproduce. Maybe something related to the "|--" |
@sernaferna thx, that log helps a lot, and already shows whats going wrong. this is the produced output of
you see its adding all the stuff like up to date, funding stuff... and then
and thats not a correct version ofc... we want do you have any |
can you test again with |
I'm not doing an
As for the new version, it doesn't work with npm workspaces.
|
@sernaferna can you try again with |
Unfortunately it still doesn't work in a workspace. 🙁 Here's a slightly longer version of the log; to make things a little clearer I attempted with an application that doesn't have the same name as the workspace. 🙂 So in this case it's workspace
|
ok pushed another change for workspaces, try again |
Works! 🙂 |
Thats great. Then I will merge later and create a new release |
Getting the error listed above at the tail end of execution. The entire job seems to be running successfully (i.e. there is a message that says "✔ success Version bumped!"), but then there is an error about being unable to process file command 'output' successfully.
Full log:
There is an error about a git commit failing, too, but I don't think that's causing the problem -- I could be wrong.
This is for a smaller microservice within a larger monorepo; the relevant section of the YAML is:
The text was updated successfully, but these errors were encountered: