Issue running on local env (different branches)
Hello, can not understand that is wrong.
Have configuration in package.json
"branches": [
{ "name": "releases-v2" },
{ "name": "master", "prerelease":"alpha", "channel": "alpha" }
],
when i run in local terminal, output says that is branches different
This test run was triggered on the branch heads/releases-v2, while semantic-release is configured to only publish from releases-v2, master, therefore a new version won’t be published.
Why this is happen and that i should do to solve it?
does the branch exist on the remote? it must exist there, so i expect pushing your branch to remote will resolve your issue
keep in mind that semantic-release is intended to be used in the context of a ci pipeline, so while it is possible to run locally, be aware that there are details like this that need to be considered for how it would reference these details from the context of a ci pipeline