Skip to content

Commit 1264b41

Browse files
committed
Fix deb building in CI
1 parent 3321862 commit 1264b41

File tree

11 files changed

+25
-18
lines changed

11 files changed

+25
-18
lines changed

.github/workflows/pkg-deb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Contributors : 曾奥然 <[email protected]>
55
# |
66
# Created On : <2025-06-10>
7-
# Last Modified : <2025-06-16>
7+
# Last Modified : <2025-10-29>
88
#
99
# Build and publish deb packages
1010
# ---------------------------------------------------------------
@@ -44,7 +44,7 @@ jobs:
4444
4545
elif [ "${{ github.event_name }}" = "push" ];then
4646
# 从源代码中提取版本号
47-
version=$(sed -E -n 's/^#define Chsrc_Version +"([0-9]+\.[0-9]+\.[0-9]+).*"/\1/p' ./src/chsrc-main.c)
47+
version=$(sed -E -n 's/^#define Chsrc_Version +"([0-9]+\.[0-9]+\.[0-9]+).*"/\1/p' ./src/framework/version.c)
4848
4949
else
5050
version="${{ github.event.inputs.version }}"

pkg/deb/BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
! Doc Type : Markdown
55
! Doc Name : BUILD.md
66
! Doc Authors : sanchuanhehe <[email protected]>
7-
! Contributors : Aoran Zeng <[email protected]>
7+
! Contributors : 曾奥然 <[email protected]>
88
! |
99
! Created On : <2025-06-14>
1010
! Last Modified : <2025-06-16>

pkg/deb/CI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
! Doc Type : Markdown
55
! Doc Name : CI.md
66
! Doc Authors : sanchuanhehe <[email protected]>
7-
! Contributors : Aoran Zeng <[email protected]>
7+
! Contributors : 曾奥然 <[email protected]>
88
! |
99
! Created On : <2025-06-14>
1010
! Last Modified : <2025-06-16>

pkg/deb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# --------------------------------------------------------------
55
# Build File : Makefile
66
# File Authors : sanchuanhehe <[email protected]>
7-
# Contributors : Aoran Zeng <[email protected]>
7+
# Contributors : 曾奥然 <[email protected]>
88
# |
99
# Created On : <2025-06-14>
1010
# Last Modified : <2025-06-16>

pkg/deb/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
! Doc Type : Markdown
55
! Doc Name : README.md
66
! Doc Authors : sanchuanhehe <[email protected]>
7-
! | Aoran Zeng <[email protected]>
8-
! Contributors : Nil Null <[email protected]>
7+
! | 曾奥然 <[email protected]>
8+
! Contributors : Nil Null <[email protected]>
99
! |
1010
! Created On : <2025-06-14>
1111
! Last Modified : <2025-06-16>

pkg/deb/deb-installation-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# --------------------------------------------------------------
55
# Test File : deb-installation-test.sh
66
# File Authors : sanchuanhehe <[email protected]>
7-
# Contributors : Aoran Zeng <[email protected]>
7+
# Contributors : 曾奥然 <[email protected]>
88
# |
99
# Created On : <2025-06-14>
1010
# Last Modified : <2025-06-16>

pkg/deb/debian/changelog

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
chsrc (0.2.3-1) unstable; urgency=medium
2+
3+
* v0.2.3 已发布
4+
5+
-- 曾奥然 <[email protected]> Wed, 29 Oct 2025 11:29:05 +0800
6+
7+
18
chsrc (0.1.9-1) unstable; urgency=medium
29

310
* v0.1.9 已发布
411

5-
-- Aoran Zeng <[email protected]> Sun, 15 Jun 2025 13:32:50 +0800
12+
-- 曾奥然 <[email protected]> Sun, 15 Jun 2025 13:32:50 +0800
613

714

815
chsrc (0.0.1-1) unstable; urgency=medium

pkg/deb/debian/copyright

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
22
Upstream-Name: chsrc
3-
Upstream-Contact: Aoran Zeng <[email protected]>
3+
Upstream-Contact: 曾奥然 <[email protected]>
44
Source: https://github.com/RubyMetric/chsrc
55

66
Files: *
7-
Copyright: 2023-2025 Aoran Zeng <[email protected]>
8-
2023-2025 Heng Guo <[email protected]>
7+
Copyright: 2023-2025 曾奥然 <[email protected]>
8+
2023-2025 郭恒 <[email protected]>
99
License: GPL-3+
1010
Comment: The authors' names are indicated in each source code file's header.
1111

1212
Files: lib/xy.h
13-
Copyright: 2023-2025 Aoran Zeng <[email protected]>
14-
2023-2025 Heng Guo <[email protected]>
13+
Copyright: 2023-2025 曾奥然 <[email protected]>
14+
2023-2025 郭恒 <[email protected]>
1515
License: MIT
1616

1717
Files: pkg/deb/debian/*

pkg/deb/debian/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# deb File : postinst
66
# File Authors : sanchuanhehe <[email protected]>
77
# Contributors : Nil Null <[email protected]>
8-
# |
8+
# |
99
# Created On : <2025-06-14>
1010
# Last Modified : <2025-06-16>
1111
#

pkg/deb/debian/prerm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# deb File : prerm
66
# File Authors : sanchuanhehe <[email protected]>
77
# Contributors : Nil Null <[email protected]>
8-
# |
8+
# |
99
# Created On : <2025-06-14>
1010
# Last Modified : <2025-06-16>
1111
#

0 commit comments

Comments
 (0)