shipjs icon indicating copy to clipboard operation
shipjs copied to clipboard

New strategy to trigger release?

Open eunjae-lee opened this issue 4 years ago • 0 comments

List pull requests associated with commit

For now, the condition to trigger release is

correctCommitMessage && correctBranch

(https://github.com/algolia/shipjs/blob/master/packages/shipjs-lib/src/lib/config/defaultConfig.js#L88-L107)

What if it becomes

(correctCommitMessage || prLabeled) && correctBranch

prLabeled here means if the PR associated with the latest commit message has a specific label like "release:trigger".

This might solve issues like #667

Is there any side effect?

Should it become a default behavior? or an opt-in feature?

eunjae-lee avatar Mar 09 '20 10:03 eunjae-lee