mirror of
https://github.com/semantic-release/semantic-release.git
synced 2026-10-26 07:59:35 +00:00
49f5e704ba
- 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
6 lines
142 B
JavaScript
6 lines
142 B
JavaScript
const AggregateError = require('aggregate-error');
|
|
|
|
module.exports = () => {
|
|
throw new AggregateError([new Error('a'), new Error('b')]);
|
|
};
|