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
How do you set branches #11
Comments
I don't have enough information to know what might be happening here. Are you able to link to GitHub Actions logs and your repository? |
Hmm, could be because Footnotes |
The one time i managed to make semantic-release run successfully i had to set the branches in the workflow file |
This workflow ignores your repository's semantic-release configuration1. From that link: # Clear out any existing semantic-release configuration.
#
# This step is necessary in my projects that use a .releaserc.json file
# with a non-stock semantic-release plugin, because semantic-release throws
# an error when the plugin is referenced in the configuration but not
# present in the node_modules directory.
#
# Therefore, a quick and drity workaround is to clear out the configuration
# before invoking semantic-release. This means semantic-release's default value for Footnotes |
is that step only necessary for .releaserc files that use non stock semantic release plugins? |
the command |
Started fix for semantic-release-action#11 missing fix for `.releaserc{,.js,.cjs} .release.config.{js,cjs}` files
Implemented a fix for .json , .yml, and .yaml files that should work. |
## [4.0.3](v4.0.2...v4.0.3) (2023-02-25) ### Bug Fixes * use host semantic-release configuration ([ebbae10](ebbae10)), closes [#11](#11)
🎉 This issue has been resolved in version 4.0.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This is the approach I was leaning towards too, but it turns out we can override the |
it runs successfully after i commented out some additional sections in my .releaserc |
Hmm, were these the necessary changes? RampedIndent/polylauncher@e941501 |
I got this error so i commented out all the stuff that i figured wasn't required. |
Thanks for the link, copying the error here for posterity
|
Relevant documentation: https://semantic-release.gitbook.io/semantic-release/usage/plugins#plugins In #11, @RampedIndent found that `semantic-release --dry-run` tries `require`-ing plugins for all steps, even the prepare/publish/success/fail steps that are not executed in `--dry-run`. This commit uses the CLI options to override the configured plugins for all steps, with the exception of analyze-commits. That means this GitHub Action does not support semantic-release with a non-stock analyze-commits configuration. Punt that issue until it's observed in the wild.
I found a way to mitigate this issue, using the same pattern: 538bd6f Thank you for the bug reports! |
## [4.0.5](v4.0.4...v4.0.5) (2023-02-26) ### Bug Fixes * override plugins for each release step ([538bd6f](538bd6f)), closes [#11](#11)
I keep getting this error because i'm not using the master branch
The text was updated successfully, but these errors were encountered: