Skip to content

Commit c5489a7

Browse files
18202781743mhduiy
authored andcommitted
fix: make version optional in release workflow and update rpm spec
1. Changed version input from required to optional in GitHub workflow to allow more flexible release process 2. Updated rpm spec file formatting for consistency 3. Added %{?dist} macro to Release field for better compatibility with different distributions fix: 使版本号在发布工作流中可选并更新 rpm 规范 1. 将 GitHub 工作流中的版本输入从必选改为可选,以实现更灵活的发布流程 2. 更新 rpm 规范文件格式以提高一致性 3. 在 Release 字段中添加 %{?dist} 宏以提高与不同发行版的兼容性
1 parent abc2143 commit c5489a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/call-auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
version:
66
description: 'Release version (e.g., 1.0.0)'
77
type: string
8-
required: true
8+
required: false
99
name:
1010
description: 'The name of the person to release the version'
1111
type: string

rpm/qt5platform-plugins.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
%endif
55

66
Name: dde-qt5platform-plugins
7-
Version: 5.7.17
8-
Release: 1
7+
Version: 5.7.17
8+
Release: 1%{?dist}
99
Summary: Qt platform plugins for DDE
1010
License: GPLv3
1111
URL: https://github.com/linuxdeepin/deepin-desktop-schemas

0 commit comments

Comments
 (0)