-
Notifications
You must be signed in to change notification settings - Fork 1
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
Config not recognised #98
Comments
Yep you are right. I am still thinking about how to handle the update from one major version to another. I think I will go forward with a v1 release an will upgrade semantic release to 16. |
I suggest going straight for 17 then. The breaking change was the requirement for |
Ok seems like there was an API change in between the versions so that an error will be thrown. I will investigate |
Nevermind, it works... |
In order to run your configuration you have to add additional packages (such as |
I have the following config in
.releaserc
When running the task on my branch
develop
, I get the following result:Here is the config in the task, pointing to
.releaserc
Running
npx semantic-release --no-ci --dry-run
locally ondevelop
works fine, and shows the intended output.my
package.json
contains:So I also don't get the warning:
npm WARN @semantic-release/[email protected] requires a peer of semantic-release@>=16.0.0 <18.0.0 but none is installed. You must install peer dependencies yourself.
UPDATE: After looking at the source code, I suspect this is a not yet implemented feature, as config.branches is never read anywhere. I may have a look at it, and see if I can do something about it. Although, I am no expert in
semantic-release
UPDATE 2: I suspect this is due to
"semantic-release": "^15.13.24"
in freestyle. Looks like there was a change in how branches are handled after v16.0.0The text was updated successfully, but these errors were encountered: