diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82c09392..d9aae757 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,6 +144,8 @@ jobs: cd .. - name: Release ${{ matrix.platform }} + env: + BRANCH: ${{ github.ref_type == 'tag' && 'RELEASE' || 'DEVELOP' }} run: | make ${{ matrix.platform }}-release diff --git a/Makefile b/Makefile index 3e354d5c..abce864e 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ ANDROID_OUT=./android/app/libs DESKTOP_OUT=./libcore/bin GEO_ASSETS_DIR=./assets/core -BRANCH=$(shell git branch --show-current) +# BRANCH=$(shell git branch --show-current) VERSION=$(shell git describe --tags --abbrev=0 || echo "unknown version") CORE_NAME=hiddify-libcore