Skip to content

Commit 4c50e01

Browse files
committed
Set max stability to beta as a stable release doesnt exist yet
1 parent 0fb9836 commit 4c50e01

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

bin/fusion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (file_exists(__DIR__.'/../../../autoload.php')) {
77
require __DIR__.'/../vendor/autoload.php';
88
}
99

10-
$app = new Symfony\Component\Console\Application('FusionCMS CLI', '1.0.2');
10+
$app = new Symfony\Component\Console\Application('FusionCMS CLI', '1.0.3');
1111
$app->add(new FusionCMS\CLI\Console\NewCommand);
1212

1313
$app->run();

src/NewCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function configure()
2525
->addArgument('version', InputArgument::OPTIONAL)
2626
->addOption('quiet', 'q', InputOption::VALUE_NONE, 'Do not output any message')
2727
->addOption('master', 'm', InputOption::VALUE_NONE, 'Installs the latest "master" release')
28-
->addOption('beta', 'b', InputOption::VALUE_NONE, 'Installs the latest "beta" release')
28+
// ->addOption('beta', 'b', InputOption::VALUE_NONE, 'Installs the latest "beta" release')
2929
->addOption('no-install', null, InputOption::VALUE_NONE, 'Disables jumping into the FusionCMS installation process directly');
3030
}
3131

@@ -108,11 +108,11 @@ protected function getVersion(InputInterface $input)
108108
*/
109109
protected function getStability(InputInterface $input)
110110
{
111-
$stability = 'stable';
111+
$stability = 'beta';
112112

113-
if ($input->getOption('beta')) {
114-
$stability = 'beta';
115-
}
113+
// if ($input->getOption('beta')) {
114+
// $stability = 'beta';
115+
// }
116116

117117
if ($input->getOption('master')) {
118118
$stability = 'dev';

0 commit comments

Comments
 (0)