-
Notifications
You must be signed in to change notification settings - Fork 129
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
Failed step Publish because Body is too Long #622
Comments
Having same issue here. |
I'm having the same issue here. Is there an option to truncate the excess? |
i'm sure this is something that could be protected against, but has not been a priority since this is only the third request we've seen in the life of the project that i'm aware of. that limit is quite large. could you help us understand what is in your release notes to make the request so large? |
The release notes contain the list of all prior PRs and commits in the repo, which is large. |
i have to start with a note to provide context for my comments. semantic-release does not officially support monorepos, but we try not to prevent using a monorepo structure with community supported additions like semantic-release-monorepo. that said, we don't provide support here for monorepo specific details. are you using one of the community supported monorepo addons? if so you may be able to get more support for the monorepo details in that repo.
are you making sure that appropriate tags exist in the history of the repo for the previous existing version when you add a new module? the format of the tag might differ based on the monorepo addon that you are using for your monorepo structure, especially if you are versioning the modules independently (which we recommend in order for the versions for each module can be semantic). if the previous existing tag is in place, semantic-release will only include release notes about the commits since that previous version i could see putting in a safeguard to avoid going beyond the limit, but i dont think you want all of those previous details included in your new releases anyway, right? if this is something that you can avoid, that could be for the best since i dont know when we will be able to prioritize such a safeguard |
please also see my comments on semantic-release/git#263 (comment). while the detail about committing during a release is not related to this situation, i expect several of the other details are. i'm interested to understand if any of the suggestions there help folks avoid this situation until we can determine an appropriate action here |
Hi,
I'm config to use semantic-release to automate release for my Repo. But I met an issue when the first time I run release because the changelog store a lot of commit( Because it's first time release).
Error message is below:
Any suggestion or config option for @semantic-release/github to minimise the body when call API github createRelease ?
The text was updated successfully, but these errors were encountered: