aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-03-12 22:57:20 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2024-03-12 22:57:20 +0100
commit27c166ebb8ac1bdeebc39a642af15f491edff516 (patch)
treeec8aba576779ab300ea5463fa0b06cb66f4c17ae /Makefile
parent7a481daf21549889ac60914918ef8ace4f5a4b08 (diff)
Set location of the rpm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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)