Update Makefile
This commit is contained in:
7
Makefile
7
Makefile
@@ -9,11 +9,12 @@ BRANCH=$(shell git branch --show-current)
|
|||||||
VERSION=$(shell git describe --tags --abbrev=0 || echo "unknown version")
|
VERSION=$(shell git describe --tags --abbrev=0 || echo "unknown version")
|
||||||
|
|
||||||
CORE_NAME=hiddify-libcore
|
CORE_NAME=hiddify-libcore
|
||||||
ifeq ($(BRANCH),DEVELOP)
|
ifeq ($(BRANCH),RELEASE)
|
||||||
CORE_URL=https://github.com/hiddify/hiddify-next-core/releases/download/draft
|
|
||||||
else
|
|
||||||
CORE_URL=https://github.com/hiddify/hiddify-next-core/releases/download/v$(core.version)
|
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
|
endif
|
||||||
|
|
||||||
get:
|
get:
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user