diff --git a/CHANGELOG.md b/CHANGELOG.md index 51f4e02..a5dee8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 1.0.0-RC9 - 2019-12-04 +- Fixed a bug where a .gitignore file was written instead of .my.cnf + ## 1.0.0-RC8 - 2019-11-15 - More verbose SSH errors - Default .my.cnf to prevent GTID_PURGED errors diff --git a/README.md b/README.md index f9bcdf2..cae0c94 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Craft Copy Plugin (RC8) +# Craft Copy Plugin (RC9) This little command line tool helps to speed up common tasks around Craft CMS deployment on [fortrabbit](https://www.fortrabbit.com/). Craft Copy syncs your local development environment with your fortrabbit App — up and down. It conveniently deploys deploys code changes and synchronizes latest images and database entries. This Craft CMS plugin will be installed locally and on the fortrabbit App. @@ -54,7 +54,7 @@ cd your/craft-project # Require Craft Copy via Composer composer config platform --unset -composer require fortrabbit/craft-copy:^1.0.0-RC8 +composer require fortrabbit/craft-copy:^1.0.0-RC9 # Install the plugin with Craft CMS php craft install/plugin copy diff --git a/composer.json b/composer.json index 4f0d1c6..06d2493 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "fortrabbit/craft-copy", "description": "Tooling for Craft on fortrabbit", "type": "craft-plugin", - "version": "1.0.0-RC8", + "version": "1.0.0-RC9", "keywords": [ "craft", "cms", diff --git a/src/commands/DbExportAction.php b/src/commands/DbExportAction.php index 3d782e6..636c8d1 100644 --- a/src/commands/DbExportAction.php +++ b/src/commands/DbExportAction.php @@ -48,7 +48,7 @@ public function run(string $file = null) */ protected function assureMyCfnForMysqldump(): bool { - $mycnfDest = Craft::getAlias("@root") . "/.gitignore"; + $mycnfDest = Craft::getAlias("@root") . "/.my.cnf"; $mycnfSrc = Plugin::PLUGIN_ROOT_PATH . "/.my.cnf.example"; if (!file_exists($mycnfDest)) {