mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-07 00:02:14 +08:00
fix: BUILD_VERSION
This commit is contained in:
parent
2e6c7bcb18
commit
e3107ae5cb
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -211,6 +211,8 @@ jobs:
|
||||
|
||||
- name: Build ArchLinux Package
|
||||
uses: countstarlight/arch-makepkg-action@master
|
||||
env:
|
||||
BUILD_VERSION: ${{ steps.tag.outputs.tag }}
|
||||
with:
|
||||
repos: >
|
||||
archlinuxcn=https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
|
||||
|
@ -16,13 +16,14 @@ VERSION_DATA=(${VERSION_DATA//,/ })
|
||||
TARGET_VERSION=${VERSION_DATA[0]}
|
||||
TARGET_VERSION_MD5=${VERSION_DATA[1]}
|
||||
|
||||
echo "BUILD_VERSION: $BUILD_VERSION"
|
||||
if [ -n "$1" ];then
|
||||
export BUILD_VERSION=$1
|
||||
fi
|
||||
if [ -z "$BUILD_VERSION" ];then
|
||||
export BUILD_VERSION='continuous'
|
||||
fi
|
||||
echo "BUILD_VERSION: $BUILD_VERSION"
|
||||
|
||||
# 及时构建修订版本号为0
|
||||
if [ "$BUILD_VERSION" == "continuous" ];then
|
||||
pkgrel='0'
|
||||
|
Loading…
x
Reference in New Issue
Block a user