Skip to content

Commit f834cb5

Browse files
asterwyxzccrs
authored andcommitted
feat(ci): Add auto release workflow
Log: as title
1 parent 9f500cb commit f834cb5

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 }}

VERSION.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@version@

0 commit comments

Comments
 (0)