You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git checkout -b release/1.5
git add .
git commit -m "feat: test"
git push origin release/1.5
npx semantic-release --no-ci
This test run was triggered on the branch release/1.5, while semantic-release is configured to only publish from main, therefore a new version won’t be published.
Expected behavior
I'm expecting semantic-release to detect the configured release/* branches
I had the same issue. The error message is misleading, it displays actual remote branches that match a release branch.
In your case only the origin/main is matching.
release/1.5 does not match release/+([0-9])?(.{+([0-9]),x}).x, is is missing the leading x
I'm getting this when explicitly passing in a literal branch name using --branches (same with changing the branches option in the conifg). I need this somewhat commonly on non-release branches with dryRun while testing new semantic-release configurations.
[6:53:03 PM] [semantic-release] » ℹ This test run was triggered on the branch feat/branch, while semantic-release is configured to only publish from main, therefore a new version won’t be published.
This error is at the very least misleading because it's incorrect: semantic-release knows that its configured with two release branches (see debug output). One of which is the branch that's checked out.
Current behavior
release.config.js
Console:
Expected behavior
I'm expecting semantic-release to detect the configured release/* branches
Environment
The text was updated successfully, but these errors were encountered: