From c9de4f71984ba3f357b23bc6ac008b2a1911410c Mon Sep 17 00:00:00 2001 From: f Date: Tue, 13 Jul 2021 17:24:09 -0300 Subject: [PATCH] si estamos actualizando desde origin/rails hay que ignorar el directorio --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c083ddf..6f04c74 100644 --- a/Makefile +++ b/Makefile @@ -134,7 +134,7 @@ ota-rb: ssh $(delegate) mkdir -p /tmp/patches-$(commit)/ scp ./0*.patch $(delegate):/tmp/patches-$(commit)/ scp ./ota.sh $(delegate):/tmp/ - ssh $(delegate) docker cp /tmp/patches-$(commit) $(container):/tmp/ + ssh $(delegate) docker cp /tmp/patches-$(shell echo $(commit) | cut -d / -f 1) $(container):/tmp/ ssh $(delegate) docker cp /tmp/ota.sh $(container):/usr/local/bin/ota ssh $(delegate) docker exec $(container) apk add --no-cache patch ssh $(delegate) docker exec $(container) ota $(commit)