From f2683c3a5ab1b4184ec7038d6fda84603db45983 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 27 Apr 2021 11:52:02 -0300 Subject: [PATCH] hotfixes via make MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit en realidad deberíamos hacer esto vía git pero hay que hacer algunos cambios en el dockerfile para eso --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 $@