- Allow `publish` plugins to return an `Object` with information related to the releases - Add the `success` plugin hook, called when all `publish` are successful, receiving a list of release - Add the `fail` plugin hook, called when an error happens at any point, receiving a list of errors - Add detailed message for each error
3.1 KiB
3.1 KiB
Plugins list
Default plugins
- @semantic-release/github
- verifyConditions: Verify the presence and the validity of the GitHub authentication and release configuration
- publish: Publish a GitHub release
- success: Add a comment to GitHub issues and pull requests resolved in the release
- fail: Open a GitHub issue when a release fails
- @semantic-release/npm
- verifyConditions: Verify the presence and the validity of the npm authentication and release configuration
- publish: Publish the package on the npm registry
Official plugins
- @semantic-release/gitlab
- verifyConditions: Verify the presence and the validity of the GitLab authentication and release configuration
- publish: Publish a GitLab release
- @semantic-release/git
- verifyConditions: Verify the presence and the validity of the Git authentication and release configuration
- publish: Push a release commit and tag, including configurable files
- @semantic-release/changelog
- verifyConditions: Verify the presence and the validity of the configuration
- publish: Create or update the changelog file in the local project repository
- @semantic-release/exec
- verifyConditions: Execute a shell command to verify if the release should happen
- analyzeCommits: Execute a shell command to determine the type of release
- verifyRelease: Execute a shell command to verifying a release that was determined before and is about to be published.
- generateNotes: Execute a shell command to generate the release note
- publish: Execute a shell command to publish the release
- success: Execute a shell command to notify of a new release
- fail: Execute a shell command to notify of a failed release