Skip to content

Commit

Permalink
Whoop die scoop
Browse files Browse the repository at this point in the history
Here we go!
  • Loading branch information
sstok committed Jul 4, 2019
1 parent e14736d commit d01d5fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .hubkit/pre-release.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

$style->warning([
'Pull request '.$pr['html_url'].' was opened for this release.',
'The process will automatically continue once this pull request it merged.',
'The process will automatically continue once this pull request is merged.',
'!! DO NOT ABORT THE COMMAND !!'
]);

Expand All @@ -46,7 +46,7 @@
$progress->advance();
}

if ($github->getPullRequest($pr['number'])['state'] === 'closed') {
if ($github->getPullRequest($pr['number'])['merged'] === false) {
$progress->finish('Pull request was closed. Aborting.');

exit(1);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"require": {},
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
"dev-master": "1.0-dev"
}
}
}

0 comments on commit d01d5fd

Please sign in to comment.