mirror of
https://github.com/RubyMetric/chsrc
synced 2026-01-09 23:42:27 +08:00
Fix deb building in CI
This commit is contained in:
2
.github/workflows/pkg-deb.yml
vendored
2
.github/workflows/pkg-deb.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
elif [ "${{ github.event_name }}" = "push" ];then
|
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
|
else
|
||||||
version="${{ github.event.inputs.version }}"
|
version="${{ github.event.inputs.version }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user