Skip to content

Commit

Permalink
Corrected update command given by UpdateChecker, updated to version 1…
Browse files Browse the repository at this point in the history
….2.1 (#1687)
  • Loading branch information
TeslaDethray authored Apr 11, 2017
1 parent cc64064 commit 657e4d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org)

## 1.2.1 - 2017-04-11
### Fixed
- Corrected the command to be used to update Terminus displayed by the `UpdateChecker`. (#1687)

## 1.2.0 - 2017-04-10
### Changed
- `Backup::getDate()` now returns a Unix datetime instead of a formatted date. (#1676)
Expand Down
2 changes: 1 addition & 1 deletion config/constants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
---

# App
TERMINUS_VERSION: '1.2.1-dev'
TERMINUS_VERSION: '1.2.1'

# Connectivity
TERMINUS_HOST: 'terminus.pantheon.io'
Expand Down
2 changes: 1 addition & 1 deletion src/Update/UpdateChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class UpdateChecker implements ConfigAwareInterface, ContainerAwareInterface, Da
use LoggerAwareTrait;

const DEFAULT_COLOR = "\e[0m";
const UPDATE_COMMAND = 'curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar install';
const UPDATE_COMMAND = 'curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update';
const UPDATE_NOTICE = <<<EOT
A new Terminus version v{latest_version} is available.
You are currently using version v{running_version}.
Expand Down

0 comments on commit 657e4d1

Please sign in to comment.