Fix deb building in CI
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled

This commit is contained in:
Aoran Zeng 2025-10-29 13:28:56 +08:00
parent dafbb302bb
commit 6a527dba00
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -44,7 +44,7 @@ jobs:
elif [ "${{ github.event_name }}" = "push" ];then
# 从源代码中提取版本号
version=$(sed -E -n 's/^#define Chsrc_Version +"([0-9]+\.[0-9]+\.[0-9]+).*"/\1/p' ./src/framework/version.c)
version=$(sed -E -n 's/^#define Chsrc_Version +"([0-9]+\.[0-9]+\.[0-9]+).*"/\1/p' ./src/framework/version.h)
else
version="${{ github.event.inputs.version }}"