From a533f4e5cb10623669fcdfb1aa27197742d1c703 Mon Sep 17 00:00:00 2001 From: RomanSteinberg <romanofficial@yandex.com> Date: Sat, 5 Sep 2015 17:43:35 +0300 Subject: [PATCH] Targets change --- Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 1df932a0b..9d1130612 100644 --- a/Makefile +++ b/Makefile @@ -19,20 +19,15 @@ copy_files: Tasker_deploy rsync -ru --info=PROGRESS2 --exclude="application/config" --exclude="news.md" --exclude="updates.md" \ \~dev_rating/ $(DST_PATH) -# server deploy without fix -release_no_fix: DB_deploy copy_files +# server deploy without db fix and stored stuff update +release_no_db: copy_files sed -i 's/~dev_rating//g' $(DST_PATH)/.htaccess sed -i 's/\/~dev_rating//g' $(DST_PATH)/application/bootstrap.php sed -i 's/\/~dev_rating//g' $(DST_PATH)/static/js/config.js chmod u=rwx,g=rx,o=r $(DST_PATH)/index.php - # server deploy with fix -release: DB_fix release_no_fix - - - - +release: DB_update release_no_db # server deploy with dump load load_deploy: DB_deployTest copy_files -- GitLab