Skip to content

Commit

Permalink
also exit successfully in a prerelease branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Nov 6, 2020
1 parent b6237da commit e77ab8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/auto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ export default class Auto {
// If pr-check is ran on CI on master then we exit successfully since
// running pr-check in this scenario wouldn't make sense anyway. Enables
// adding this command without resorting to bash if/else statements.
if (env.isCi && env.branch === "master") {
if (env.isCi && (env.branch === "master" || this.inPrereleaseBranch())) {
process.exit(0);
}

Expand Down

0 comments on commit e77ab8e

Please sign in to comment.