Skip to content

Commit

Permalink
Fail prerelease deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
ericduran committed Mar 26, 2015
1 parent d2f65e6 commit f65de44
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/flo/Command/Deployments/TagDeploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ protected function execute(InputInterface $input, OutputInterface $output) {
return 1;
}

// If the release is already marked "prerelease". faile
// If the release is already marked "prerelease" fail.
if (!empty($release['prerelease']) && $release['prerelease'] == 1) {
$output->writeln("<error>Tag: {$tag} is marked as pre-release. Please certify before deploying</error>");
return 1;
}

return 1;
}


Expand Down

0 comments on commit f65de44

Please sign in to comment.