diff --git a/Makefile b/Makefile index 913ac105..15603bf2 100644 --- a/Makefile +++ b/Makefile @@ -46,9 +46,6 @@ save: date +%F | xargs git tag -f @echo -e "\a" -load: - ssh root@sutty.nl sh -c "gunzip -c sutty.latest.gz | docker load" - # Crear el directorio donde se almacenan las gemas binarias ../gems/: mkdir -p $@ @@ -99,6 +96,12 @@ ota: assets sudo chgrp -R 82 public/ rsync -av public/ athshe:/srv/sutty/srv/http/data/_public/ +# Hotfixes +ota-rb: + umask 022; git format-patch $(commit) + scp ./0*.patch root@athshe.sutty.nl:/tmp/ + rm ./0*.patch + /etc/hosts: always @echo "Chequeando si es necesario agregar el dominio local $(SUTTY)" @grep -q " $(SUTTY)$$" $@ || echo -e "127.0.0.1 $(SUTTY)\n::1 $(SUTTY)" | sudo tee -a $@