cargo build --profile $(profile) --target $(target)
release:
- @echo "Releasing $(target) to $(channel)"
+ @echo "Releasing target/$(target)/$(profile) to $(channel)"
$(architectures):
$(MAKE) -e target=$@ rpm
@$(eval channel=$(subst refs/tags/,,$(GIT_REF)))
endif
ifneq ($(channel),)
- $(MAKE) -e channel=$(channel) package
+ $(MAKE) -e profile=release -e channel=$(channel) package
endif
.PHONY: default build $(architectures) rpm package prepare set_rust ci release