mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +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
|
- name: Build ArchLinux Package
|
||||||
uses: countstarlight/arch-makepkg-action@master
|
uses: countstarlight/arch-makepkg-action@master
|
||||||
|
env:
|
||||||
|
BUILD_VERSION: ${{ steps.tag.outputs.tag }}
|
||||||
with:
|
with:
|
||||||
repos: >
|
repos: >
|
||||||
archlinuxcn=https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
|
archlinuxcn=https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
|
||||||
|
@ -16,13 +16,14 @@ VERSION_DATA=(${VERSION_DATA//,/ })
|
|||||||
TARGET_VERSION=${VERSION_DATA[0]}
|
TARGET_VERSION=${VERSION_DATA[0]}
|
||||||
TARGET_VERSION_MD5=${VERSION_DATA[1]}
|
TARGET_VERSION_MD5=${VERSION_DATA[1]}
|
||||||
|
|
||||||
|
echo "BUILD_VERSION: $BUILD_VERSION"
|
||||||
if [ -n "$1" ];then
|
if [ -n "$1" ];then
|
||||||
export BUILD_VERSION=$1
|
export BUILD_VERSION=$1
|
||||||
fi
|
fi
|
||||||
if [ -z "$BUILD_VERSION" ];then
|
if [ -z "$BUILD_VERSION" ];then
|
||||||
export BUILD_VERSION='continuous'
|
export BUILD_VERSION='continuous'
|
||||||
fi
|
fi
|
||||||
echo "BUILD_VERSION: $BUILD_VERSION"
|
|
||||||
# 及时构建修订版本号为0
|
# 及时构建修订版本号为0
|
||||||
if [ "$BUILD_VERSION" == "continuous" ];then
|
if [ "$BUILD_VERSION" == "continuous" ];then
|
||||||
pkgrel='0'
|
pkgrel='0'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user