From: Ruben Beltran del Rio Date: Tue, 12 Mar 2024 21:57:20 +0000 (+0100) Subject: Set location of the rpm X-Git-Tag: 7.0.0~7 X-Git-Url: https://git.r.bdr.sh/rbdr/blog/commitdiff_plain/27c166ebb8ac1bdeebc39a642af15f491edff516?hp=7a481daf21549889ac60914918ef8ace4f5a4b08 Set location of the rpm --- diff --git a/Makefile b/Makefile index 1e43795..c213f1a 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,6 @@ build: prepare release: rpm tar @$(eval filename := $(app_name)-$(target)-$(channel)) - rsync -avz $(filename).tar.gz deploy@conchos.unlimited.pizza:/srv/http/build.r.bdr.sh/$(app_name) - rsync -avz $(filename).rpm deploy@conchos.unlimited.pizza:/srv/http/build.r.bdr.sh/$(app_name) $(architectures): ifneq ($(channel),) @@ -28,10 +26,12 @@ endif rpm: build cargo generate-rpm --profile $(profile) --target $(target) + rsync -avz target/$(target)/generate-rpm/*.rpm deploy@conchos.unlimited.pizza:/srv/http/build.r.bdr.sh/$(app_name) tar: build @$(eval filename := $(app_name)-$(target)-$(channel)) tar -czvf $(filename).tar.gz -C target/$(target)/$(profile)/ $(app_name) + rsync -avz $(filename).tar.gz deploy@conchos.unlimited.pizza:/srv/http/build.r.bdr.sh/$(app_name) package: $(architectures)