File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
2+ #
3+ # SPDX-License-Identifier: MIT
4+
5+ name : Create release
6+
7+ on :
8+ workflow_dispatch :
9+ inputs :
10+ sha1 :
11+ type : string
12+ required : true
13+ description : " sha1 to be tagged"
14+ version :
15+ type : string
16+ required : true
17+ description : " Desired numeric version (without any prefix/suffix)"
18+
19+ permissions :
20+ contents : write
21+ actions : write
22+
23+ jobs :
24+ create_release :
25+ runs-on : ubuntu-24.04
26+ steps :
27+ - name : Checkout sources
28+ uses : actions/checkout@v4
29+ with :
30+ fetch-depth : 0
31+
32+ - name : Checkout CI tools
33+ uses : actions/checkout@v4
34+ with :
35+ repository : KDABLabs/ci-release-tools
36+ path : ci-release-tools
37+ ref : main
38+
39+ - name : Setup git author name
40+ run : |
41+ git config --global user.email "github_actions@kdab"
42+ git config --global user.name "KDAB GitHub Actions"
43+
44+ - name : Create release
45+ run : |
46+ python3 ci-release-tools/src/create_release.py --repo KDSingleApplication --version ${{ github.event.inputs.version }} --sha1 ${{ github.event.inputs.sha1 }} --repo-path .
47+ env :
48+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments