Skip to content

Commit

Permalink
Merge branch 'hotfix/3.4.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Jun 29, 2020
2 parents 262480a + 69ebcfe commit cf9ec67
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 3.4.7 / 2020-06-29

### Fixed:

* Fix ensureKnownHosts

## 3.4.6 / 2020-06-29

### Fixed:
Expand Down
3 changes: 2 additions & 1 deletion src/Method/ArtifactsBaseMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Phabalicious\Exception\TaskNotFoundInMethodException;
use Phabalicious\ShellProvider\ShellProviderInterface;
use Phabalicious\Utilities\AppDefaultStages;
use Phabalicious\Utilities\EnsureKnownHosts;
use Phabalicious\Validation\ValidationErrorBagInterface;
use Phabalicious\Validation\ValidationService;
use Psr\Log\LoggerInterface;
Expand Down Expand Up @@ -146,7 +147,7 @@ protected function buildArtifact(
$context->set('outerShell', $shell);
$context->set('installDir', $install_dir);

$this->ensureKnownHosts(
EnsureKnownHosts::ensureKnownHosts(
$context->getConfigurationService(),
$this->getKnownHosts($host_config, $context),
$shell
Expand Down
5 changes: 3 additions & 2 deletions src/Method/GitMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Phabalicious\Configuration\HostConfig;
use Phabalicious\Exception\EarlyTaskExitException;
use Phabalicious\ShellProvider\ShellProviderInterface;
use Phabalicious\Utilities\EnsureKnownHosts;
use Phabalicious\Utilities\Utilities;
use Phabalicious\Validation\ValidationErrorBagInterface;
use Phabalicious\Validation\ValidationService;
Expand Down Expand Up @@ -184,7 +185,7 @@ public function appCreate(HostConfig $host_config, TaskContextInterface $context
$cwd = $shell->getWorkingDir();
$shell->cd(dirname($install_dir));

$this->ensureKnownHosts(
EnsureKnownHosts::ensureKnownHosts(
$context->getConfigurationService(),
$this->getKnownHosts($host_config, $context),
$shell
Expand All @@ -211,7 +212,7 @@ public function preflightTask(string $task, HostConfig $config, TaskContextInter
{
parent::preflightTask($task, $config, $context); // TODO: Change the autogenerated stub
if (in_array($task, ['deploy'])) {
$this->ensureKnownHosts(
EnsureKnownHosts::ensureKnownHosts(
$context->getConfigurationService(),
$this->getKnownHosts($config, $context),
$config->shell()
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/Utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class Utilities
{

const FALLBACK_VERSION = '3.4.6';
const FALLBACK_VERSION = '3.4.7';
const COMBINED_ARGUMENTS = 'combined';
const UNNAMED_ARGUMENTS = 'unnamedArguments';

Expand Down

0 comments on commit cf9ec67

Please sign in to comment.