From 2d040b019b299a6863c65175a1945a41fd8f2a95 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Fri, 15 Sep 2023 17:20:32 +0200 Subject: [PATCH] fix: pre-release --- .github/workflows/ci.yml | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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