fix: pre-release

This commit is contained in:
Hiddify
2023-09-15 17:20:32 +02:00
parent b6bbdb93dd
commit 2d040b019b
2 changed files with 3 additions and 1 deletions

View File

@@ -144,6 +144,8 @@ jobs:
cd ..
- name: Release ${{ matrix.platform }}
env:
BRANCH: ${{ github.ref_type == 'tag' && 'RELEASE' || 'DEVELOP' }}
run: |
make ${{ matrix.platform }}-release

View File

@@ -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