diff --git a/CHANGELOG.md b/CHANGELOG.md index fd922a7..fe9b795 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). In order to read more about upgrading and BC breaks have a look at the [UPGRADE Document](UPGRADE.md). +## 2.2.0 (15. March 2022) + ++ [#23](https://github.com/luyadev/luya-deployer/pull/23) FXP installation is now by default **off** instead of **on**. This is a small BC break. In order to restore original behavior use `->set('installFxpPlugin', true)` + ## 2.1.0 (7. October 2021) + [#17](https://github.com/luyadev/luya-deployer/issues/17) Added new `unglue` tasks which is downloading the unglue binary. Usage example `after('luya:commands', 'unglue');` diff --git a/README.md b/README.md index 0fd1573..8be36c1 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Available Options |Key|Constant|Default|Description |---|--------|-------|----- |`ignorePlatformReqs`|`COMPOSER_IGNORE_PLATFORM_REQS`|false|Whether composer install should ignore platform requirements or not. -|`installFxpPlugin`|`COMPOSER_INSTALL_FXP`|true|Whether composer global fxp plugin should be installed or not. +|`installFxpPlugin`|`COMPOSER_INSTALL_FXP`|false|Whether composer global fxp plugin should be installed or not. |`adminCoreCommands`|`LUYA_ADMIN_CORE_COMMANDS`|true|Whether the LUYA core commands like migrate, import should be run after deployment. > In order to configure a branch to deploy use `set('branch', 'myCheckoutBranch');` @@ -97,4 +97,4 @@ Read the [PHP Deployer Docs](https://deployer.org/docs/hosts.html) for more info 1. Generate an SSH Key `ssh-keygen -t rsa -b 2048 -C "luyadeployer"` 2. When prompting for `Enter passphrase (empty for no passphrase):` skip this step (at least when setting up an continuous deployment f.e.). 3. Copy the content of `~/.ssh/id_rsa.pub` which is the public key. -4. Add the public key to `~/.ssh/authorized_keys` on the Server or use `ssh-copy-id`. Also Plesk f.e. has visual tools to do so [Plesk SSH Keys Extension](https://www.plesk.com/extensions/ssh-keys/) \ No newline at end of file +4. Add the public key to `~/.ssh/authorized_keys` on the Server or use `ssh-copy-id`. Also Plesk f.e. has visual tools to do so [Plesk SSH Keys Extension](https://www.plesk.com/extensions/ssh-keys/) diff --git a/UPGRADE.md b/UPGRADE.md index b61a040..973180f 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -2,6 +2,10 @@ This document will help you upgrading from a LUYA Deployer version into another. For more detailed informations about the breaking changes **click the issue detail link**, there you can examples of how to change your code. +## from 2.x to 2.2 + ++ [#23](https://github.com/luyadev/luya-deployer/pull/23) FXP installation is now by default **off** instead of **on**. This is a small BC break. In order to restore original behavior use `->set('installFxpPlugin', true)`. + ## from 1.x to 2.0 + The `password()` option has been removed by latest deployer version, use ssh keys instead. @@ -21,4 +25,4 @@ host('SSHHOST.COM') ->set('deploy_path', '~/httpdocs'); set('repository', 'https://USER:PASSWORD@github.com/VENDOR/REPO.git'); -``` \ No newline at end of file +``` diff --git a/luya.php b/luya.php index 0126609..5f36dcd 100644 --- a/luya.php +++ b/luya.php @@ -15,7 +15,7 @@ task('luya:composerglobal', function() { - if (get(COMPOSER_INSTALL_FXP, true)) { + if (get(COMPOSER_INSTALL_FXP, false)) { run('cd {{release_path}} && {{bin/composer}} global require "fxp/composer-asset-plugin:^1.4.2" --verbose --prefer-dist --optimize-autoloader --no-progress --no-interaction'); } });