File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Auto Release
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ version :
6+ description : ' Release version (e.g., 1.0.0)'
7+ type : string
8+ required : true
9+ name :
10+ description : ' The name of the person to release the version'
11+ type : string
12+ required : false
13+ email :
14+ description : ' The email of the person to release the version'
15+ type : string
16+ required : false
17+ timezone :
18+ description : ' The timezone in the debian changelog file'
19+ required : false
20+ type : string
21+ default : ' Asia/Shanghai'
22+ workflow_call :
23+ inputs :
24+ version :
25+ description : ' Release version (e.g., 1.0.0)'
26+ type : string
27+ required : true
28+ name :
29+ description : ' The name of the person to release the version'
30+ type : string
31+ required : false
32+ email :
33+ description : ' The email of the person to release the version'
34+ type : string
35+ required : false
36+ timezone :
37+ description : ' The timezone in the debian changelog file'
38+ required : false
39+ type : string
40+ default : ' Asia/Shanghai'
41+
42+ jobs :
43+ auto_release :
44+ uses : linuxdeepin/.github/.github/workflows/auto-release.yml@master
45+ secrets : inherit
46+ with :
47+ version : ${{ inputs.version }}
48+ name : ${{ inputs.name }}
49+ email : ${{ inputs.email }}
50+ timezone : ${{ inputs.timezone }}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Copyright: None
4949License: CC0-1.0
5050
5151# Project file
52- Files: *.pro *.prf *.pri *.qrc *CMakeLists.txt *.cmake *.in
52+ Files: *.pro *.prf *.pri *.qrc *CMakeLists.txt *.cmake *.in VERSION
5353Copyright: None
5454License: CC0-1.0
5555
Original file line number Diff line number Diff line change 99# are always ignored
1010linglong.yaml
1111conanfile.py
12+ VERSION
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.25 )
22
3- set (DTK_VERSION "5.6.11" CACHE STRING "define project version" )
3+ file (READ "${CMAKE_CURRENT_SOURCE_DIR} /VERSION" DTK_FILE_VERSION )
4+ string (STRIP "${DTK_FILE_VERSION} " DTK_FILE_VERSION)
5+ set (DTK_VERSION "${DTK_FILE_VERSION} " CACHE STRING "define project version" )
46project (DtkGui
57 VERSION ${DTK_VERSION}
68 DESCRIPTION "DTK Gui module"
Original file line number Diff line number Diff line change 1+ 6.0.36
Original file line number Diff line number Diff line change 1+ @version@
You can’t perform that action at this time.
0 commit comments