]> git.r.bdr.sh - rbdr/blog/blobdiff - Makefile
Run the make in the app
[rbdr/blog] / Makefile
index cd1831972db67a6f074d796614d9a5787733053a..0a4d393e8b44e261ef8b617dff425de8c02a2680 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,12 +28,9 @@ package: $(architectures)
 
 ci:
 ifeq ($(GIT_REF),refs/heads/main)
-       @$(eval channel=unstable)
+       $(MAKE) -e profile=release -e channel=unstable package
 else ifneq (,$(findstring refs/tags/,$(GIT_REF)))
-       @$(eval channel=$(subst refs/tags/,,$(GIT_REF)))
-endif
-ifneq ($(channel),)
-       $(MAKE) -e channel=$(channel) package
+       $(MAKE) -e profile=release -e channel=$(subst refs/tags/,,$(GIT_REF)) package
 endif
 
 .PHONY: default build $(architectures) rpm package prepare set_rust ci release