]> git.r.bdr.sh - rbdr/blog/blobdiff - Makefile
Run the make in the app
[rbdr/blog] / Makefile
index d4fc301202576af5ab69568397532373297bce42..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 profile=release -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