From ea81be376320b8f8dc087cb9bdf08197bf68c292 Mon Sep 17 00:00:00 2001 From: Hiddify <114227601+hiddify-com@users.noreply.github.com> Date: Tue, 12 Sep 2023 10:10:14 +0200 Subject: [PATCH] Update Makefile --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c441b821..7b66a2ac 100644 --- a/Makefile +++ b/Makefile @@ -9,11 +9,12 @@ BRANCH=$(shell git branch --show-current) VERSION=$(shell git describe --tags --abbrev=0 || echo "unknown version") CORE_NAME=hiddify-libcore -ifeq ($(BRANCH),DEVELOP) -CORE_URL=https://github.com/hiddify/hiddify-next-core/releases/download/draft -else +ifeq ($(BRANCH),RELEASE) CORE_URL=https://github.com/hiddify/hiddify-next-core/releases/download/v$(core.version) +else +CORE_URL=https://github.com/hiddify/hiddify-next-core/releases/download/draft endif + get: flutter pub get