Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Close #681 - Fixed some tasks having their after event not fire
Browse files Browse the repository at this point in the history
  • Loading branch information
Anahkiasen committed Jul 21, 2016
1 parent 4df8105 commit 6a34355
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,7 @@ Rocketeer follows the [Semantic Versioning 2.0](http://semver.org/spec/v2.0.0.ht
### Fixed
- Fixed remote storage being written to in pretend mode
- Fixed `StepsRunner` not halting the running of steps upon encountering a strict false
- Fixed some tasks having their `after` event not firing

## [2.2.1] - 2016-07-10

Expand Down
2 changes: 1 addition & 1 deletion src/Rocketeer/Tasks/Check.php
Expand Up @@ -83,7 +83,7 @@ public function execute()
}

// Display confirmation message
$this->explainer->line('Your server is ready to deploy');
return $this->explainer->line('Your server is ready to deploy');
}

////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion src/Rocketeer/Tasks/Deploy.php
Expand Up @@ -79,7 +79,7 @@ public function execute()

$this->releasesManager->markReleaseAsValid($release);

$this->explainer->line('Successfully deployed release '.$release);
return $this->explainer->line('Successfully deployed release '.$release);
}

////////////////////////////////////////////////////////////////////
Expand Down
3 changes: 2 additions & 1 deletion src/Rocketeer/Tasks/Rollback.php
Expand Up @@ -56,8 +56,9 @@ public function execute()
}

// Rollback release
$this->explainer->success('Rolling back to release '.$rollbackRelease);
$this->updateSymlink($rollbackRelease);

return $this->explainer->success('Rolling back to release '.$rollbackRelease);
}

////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion src/Rocketeer/Tasks/Teardown.php
Expand Up @@ -53,6 +53,6 @@ public function execute()
// Remove deployments file
$this->localStorage->destroy();

$this->command->info('The application was successfully removed from the remote servers');
return $this->command->info('The application was successfully removed from the remote servers');
}
}
2 changes: 1 addition & 1 deletion src/Rocketeer/Tasks/Update.php
Expand Up @@ -65,6 +65,6 @@ public function execute()
$this->artisan()->runForCurrentRelease('clearCache');
}

$this->command->info('Successfully updated application');
return $this->command->info('Successfully updated application');
}
}

0 comments on commit 6a34355

Please sign in to comment.