Things change, people change, everything changes.
0.6.4 - 2020-12-29
- Use
project-config/apply
for Craft CMS 3.5+
0.6.3.1 - 2019-09-30
- Added
DEPLOY_ASSETS_DIR
after deleting it accidentally.
0.6.3 - 2019-09-30
- Added rollback.sh for rollbacks.
- Added
DEPLOY_URL
option. - Added
DEPLOY_CLEAR_OPCACHE
option. - Added function to clear
opcache
to reset symlink cache without restarting PHP.
0.6.2 - 2019-07-22
- Added
DEPLOY_KEEP_RELEASES
constant. - Added
DEPLOY_BRANCH
constant to clone specific branch. setup.sh
will now create an empty log file.setup.sh
will now rename.env.example
to.env
.
0.6.1 - 2019-07-15
- Added
DEPLOY_KEEP_BACKUPS
option and function.
0.6.0 - 2019-07-08
- Added
.env
environment to separate config from code.
0.5.0 - 2019-07-03
- Added
ROOT_PATH
constant for absolute server paths. REQUIRED! PLEASE UPDATE! - Added
RESTART_PHP
constant for optional PHP restart command, in case symlinks are cached.
0.4.1 - 2019-06-23
- Added bug warning.
- Added version in comments.
0.4.0 - 2019-06-22
- Added
err
timestamp.
- Changed path in instructions step (README).
- Removed duplicate code.
- Fixed bash formatting.
0.3.1 - 2019-06-20
- Added missing step to usage.
0.3.0 - 2019-06-20
- Added
set -e
to exit if any command fails.
- Moved
./craft migrate/all
and./craft project-config/sync
tocomposer install
statement.
0.2.0 - 2019-06-19
- Moved
./craft migrate/all
and./craft project-config/sync
todeploy.sh
.
- Removed
update.sh
as no longer needed.
0.1.2 - 2019-06-19
- Added task to delete current release folder if
composer install
fails.
- Moved function to delete old releases into
composer install
statement.
0.1.1 - 2019-06-18
- Added reasons why to use this script to README.
- Initial release