We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
I ran semantic-release on the master branch, but the release fail. The reason is the following.
[5:34:45 AM] [semantic-release] › ℹ Running semantic-release version 19.0.3 [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/changelog" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/npm" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/github" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "verifyConditions" from "@semantic-release/git" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/changelog" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/git" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm" [5:[34](https://github.com/ytetsuro/sabik/runs/7832677258?check_suite_focus=true#step:6:35):46 AM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "success" from "@semantic-release/github" [5:34:46 AM] [semantic-release] › ✔ Loaded plugin "fail" from "@semantic-release/github" [5:34:48 AM] [semantic-release] › ℹ This test run was triggered on the branch develop, while semantic-release is configured to only publish from master, therefore a new version won’t be published.
Workflow
workflow config
Expected behavior
It is correctly recognized as a master branch and deployed.
Additional context
This repository has a default branch is develop. I checked the name of the branch I was checking out just before deploying and it was master.
The text was updated successfully, but these errors were encountered:
We experienced the same issue. Not sure if related, but the our release action was triggering on a workflow_run instead of a push:
workflow_run
push
on: workflow_run: workflows: [Build] branches: [release] types: - completed
Sorry, something went wrong.
No branches or pull requests
Describe the bug
I ran semantic-release on the master branch, but the release fail.
The reason is the following.
Workflow
workflow
config
Expected behavior
It is correctly recognized as a master branch and deployed.
Additional context
This repository has a default branch is develop.
I checked the name of the branch I was checking out just before deploying and it was master.
The text was updated successfully, but these errors were encountered: