Skip to content
Snippets Groups Projects
Commit f445f86f authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Makefile fix reseting master to head

parent 4e68680c
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ change-remote: ## Update the remote to new gitlab server url (migrated on May 20 ...@@ -121,7 +121,7 @@ change-remote: ## Update the remote to new gitlab server url (migrated on May 20
gogo-update: ## Update a PROD server to the lastest version of gogocarto gogo-update: ## Update a PROD server to the lastest version of gogocarto
make change-remote make change-remote
sudo /usr/bin/systemctl stop cron sudo /usr/bin/systemctl stop cron
$(GIT) reset --hard master $(GIT) reset --hard origin/master
$(GIT) pull origin master $(GIT) pull origin master
make show-deploy-message make show-deploy-message
COMPOSER_MEMORY_LIMIT=-1 $(COMPOSER) install COMPOSER_MEMORY_LIMIT=-1 $(COMPOSER) install
...@@ -137,7 +137,7 @@ gogo-update: ## Update a PROD server to the lastest version of gogocarto ...@@ -137,7 +137,7 @@ gogo-update: ## Update a PROD server to the lastest version of gogocarto
gogo-quick-update: gogo-quick-update:
make change-remote make change-remote
sudo /usr/bin/systemctl stop cron sudo /usr/bin/systemctl stop cron
$(GIT) reset --hard master $(GIT) reset --hard origin/master
$(GIT) pull origin master $(GIT) pull origin master
make show-deploy-message make show-deploy-message
make purge make purge
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment