File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,8 @@ jobs:
211211
212212 - name : Build ArchLinux Package
213213 uses : countstarlight/arch-makepkg-action@master
214+ env :
215+ BUILD_VERSION : ${{ steps.tag.outputs.tag }}
214216 with :
215217 repos : >
216218 archlinuxcn=https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
Original file line number Diff line number Diff line change @@ -16,13 +16,14 @@ VERSION_DATA=(${VERSION_DATA//,/ })
1616TARGET_VERSION=${VERSION_DATA[0]}
1717TARGET_VERSION_MD5=${VERSION_DATA[1]}
1818
19+ echo " BUILD_VERSION: $BUILD_VERSION "
1920if [ -n " $1 " ]; then
2021 export BUILD_VERSION=$1
2122fi
2223if [ -z " $BUILD_VERSION " ]; then
2324 export BUILD_VERSION=' continuous'
2425fi
25- echo " BUILD_VERSION: $BUILD_VERSION "
26+
2627# 及时构建修订版本号为0
2728if [ " $BUILD_VERSION " == " continuous" ]; then
2829 pkgrel=' 0'
You can’t perform that action at this time.
0 commit comments