Skip to content

Commit

Permalink
[console] Tag 1.0.0-rc20 release. (#3322)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas authored May 26, 2017
1 parent 1946715 commit 558ae52
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"require": {
"php": "^5.5.9 || ^7.0",
"drupal/console-core" : "1.0.0-rc19",
"drupal/console-core" : "1.0.0-rc20",
"drupal/console-extend-plugin": "~0",
"alchemy/zippy": "0.4.3",
"doctrine/collections":"~1.3",
Expand Down
26 changes: 13 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Application extends BaseApplication
/**
* @var string
*/
const VERSION = '1.0.0-rc19';
const VERSION = '1.0.0-rc20';

public function __construct(ContainerInterface $container)
{
Expand All @@ -44,13 +44,11 @@ public function getLongVersion()
if ('UNKNOWN' !== $this->getName()) {
if ('UNKNOWN' !== $this->getVersion()) {
$output .= sprintf('<info>%s</info> version <comment>%s</comment>', $this->getName(), $this->getVersion());
} else {
$output .= sprintf('<info>%s</info>', $this->getName());
}
else {
$output .= sprintf('<info>%s</info>', $this->getName());
}
}
else {
$output .= '<info>Console Tool</info>';
} else {
$output .= '<info>Console Tool</info>';
}

return $output;
Expand Down
4 changes: 2 additions & 2 deletions src/Command/Generate/ThemeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ protected function configure()
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.theme.options.global-library')
)
->addOption(
->addOption(
'libraries',
null,
InputOption::VALUE_OPTIONAL,
Expand Down Expand Up @@ -195,7 +195,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$package = $input->getOption('package');
$base_theme = $input->getOption('base-theme');
$global_library = $input->getOption('global-library');
$libraries = $input->getOption('libraries');
$libraries = $input->getOption('libraries');
$regions = $input->getOption('regions');
$breakpoints = $input->getOption('breakpoints');

Expand Down

0 comments on commit 558ae52

Please sign in to comment.