Fix deb building in CI

This commit is contained in:
Aoran Zeng
2025-10-29 11:35:38 +08:00
parent 332186224f
commit 1264b4192f
11 changed files with 25 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
# Contributors : 曾奥然 <ccmywish@qq.com> # Contributors : 曾奥然 <ccmywish@qq.com>
# | # |
# Created On : <2025-06-10> # Created On : <2025-06-10>
# Last Modified : <2025-06-16> # Last Modified : <2025-10-29>
# #
# Build and publish deb packages # Build and publish deb packages
# --------------------------------------------------------------- # ---------------------------------------------------------------
@@ -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/chsrc-main.c) version=$(sed -E -n 's/^#define Chsrc_Version +"([0-9]+\.[0-9]+\.[0-9]+).*"/\1/p' ./src/framework/version.c)
else else
version="${{ github.event.inputs.version }}" version="${{ github.event.inputs.version }}"

View File

@@ -4,7 +4,7 @@
! Doc Type : Markdown ! Doc Type : Markdown
! Doc Name : BUILD.md ! Doc Name : BUILD.md
! Doc Authors : sanchuanhehe <wyihe5520@gmail.com> ! Doc Authors : sanchuanhehe <wyihe5520@gmail.com>
! Contributors : Aoran Zeng <ccmywish@qq.com> ! Contributors : 曾奥然 <ccmywish@qq.com>
! | ! |
! Created On : <2025-06-14> ! Created On : <2025-06-14>
! Last Modified : <2025-06-16> ! Last Modified : <2025-06-16>

View File

@@ -4,7 +4,7 @@
! Doc Type : Markdown ! Doc Type : Markdown
! Doc Name : CI.md ! Doc Name : CI.md
! Doc Authors : sanchuanhehe <wyihe5520@gmail.com> ! Doc Authors : sanchuanhehe <wyihe5520@gmail.com>
! Contributors : Aoran Zeng <ccmywish@qq.com> ! Contributors : 曾奥然 <ccmywish@qq.com>
! | ! |
! Created On : <2025-06-14> ! Created On : <2025-06-14>
! Last Modified : <2025-06-16> ! Last Modified : <2025-06-16>

View File

@@ -4,7 +4,7 @@
# -------------------------------------------------------------- # --------------------------------------------------------------
# Build File : Makefile # Build File : Makefile
# File Authors : sanchuanhehe <wyihe5520@gmail.com> # File Authors : sanchuanhehe <wyihe5520@gmail.com>
# Contributors : Aoran Zeng <ccmywish@qq.com> # Contributors : 曾奥然 <ccmywish@qq.com>
# | # |
# Created On : <2025-06-14> # Created On : <2025-06-14>
# Last Modified : <2025-06-16> # Last Modified : <2025-06-16>

View File

@@ -4,7 +4,7 @@
! Doc Type : Markdown ! Doc Type : Markdown
! Doc Name : README.md ! Doc Name : README.md
! Doc Authors : sanchuanhehe <wyihe5520@gmail.com> ! Doc Authors : sanchuanhehe <wyihe5520@gmail.com>
! | Aoran Zeng <ccmywish@qq.com> ! | 曾奥然 <ccmywish@qq.com>
! Contributors : Nil Null <nil@null.org> ! Contributors : Nil Null <nil@null.org>
! | ! |
! Created On : <2025-06-14> ! Created On : <2025-06-14>

View File

@@ -4,7 +4,7 @@
# -------------------------------------------------------------- # --------------------------------------------------------------
# Test File : deb-installation-test.sh # Test File : deb-installation-test.sh
# File Authors : sanchuanhehe <wyihe5520@gmail.com> # File Authors : sanchuanhehe <wyihe5520@gmail.com>
# Contributors : Aoran Zeng <ccmywish@qq.com> # Contributors : 曾奥然 <ccmywish@qq.com>
# | # |
# Created On : <2025-06-14> # Created On : <2025-06-14>
# Last Modified : <2025-06-16> # Last Modified : <2025-06-16>

View File

@@ -1,8 +1,15 @@
chsrc (0.2.3-1) unstable; urgency=medium
* v0.2.3 已发布
-- 曾奥然 <ccmywish@qq.com> Wed, 29 Oct 2025 11:29:05 +0800
chsrc (0.1.9-1) unstable; urgency=medium chsrc (0.1.9-1) unstable; urgency=medium
* v0.1.9 已发布 * v0.1.9 已发布
-- Aoran Zeng <ccmywish@qq.com> Sun, 15 Jun 2025 13:32:50 +0800 -- 曾奥然 <ccmywish@qq.com> Sun, 15 Jun 2025 13:32:50 +0800
chsrc (0.0.1-1) unstable; urgency=medium chsrc (0.0.1-1) unstable; urgency=medium

View File

@@ -1,17 +1,17 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: chsrc Upstream-Name: chsrc
Upstream-Contact: Aoran Zeng <ccmywish@qq.com> Upstream-Contact: 曾奥然 <ccmywish@qq.com>
Source: https://github.com/RubyMetric/chsrc Source: https://github.com/RubyMetric/chsrc
Files: * Files: *
Copyright: 2023-2025 Aoran Zeng <ccmywish@qq.com> Copyright: 2023-2025 曾奥然 <ccmywish@qq.com>
2023-2025 Heng Guo <2085471348@qq.com> 2023-2025 郭恒 <2085471348@qq.com>
License: GPL-3+ License: GPL-3+
Comment: The authors' names are indicated in each source code file's header. Comment: The authors' names are indicated in each source code file's header.
Files: lib/xy.h Files: lib/xy.h
Copyright: 2023-2025 Aoran Zeng <ccmywish@qq.com> Copyright: 2023-2025 曾奥然 <ccmywish@qq.com>
2023-2025 Heng Guo <2085471348@qq.com> 2023-2025 郭恒 <2085471348@qq.com>
License: MIT License: MIT
Files: pkg/deb/debian/* Files: pkg/deb/debian/*

View File

@@ -4,7 +4,7 @@
# -------------------------------------------------------------- # --------------------------------------------------------------
# Build File : rules # Build File : rules
# File Authors : sanchuanhehe <wyihe5520@gmail.com> # File Authors : sanchuanhehe <wyihe5520@gmail.com>
# | Aoran Zeng <ccmywish@qq.com> # | 曾奥然 <ccmywish@qq.com>
# Contributors : Nil Null <nil@null.org> # Contributors : Nil Null <nil@null.org>
# | # |
# Created On : <2025-06-14> # Created On : <2025-06-14>