File tree 3 files changed +40
-2
lines changed
3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 7
7
"regexManagers" : [
8
8
{
9
9
"fileMatch" : [
10
- " release.*\\ .yml"
10
+ " release.*\\ .yml" ,
11
+ " prerelease.yml"
11
12
],
12
13
"matchStrings" : [
13
14
" version:\\ s*(?<currentValue>.*)"
Original file line number Diff line number Diff line change
1
+ name : Prerelease
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ label :
7
+ description : ' Prerelease label for the release'
8
+ required : true
9
+
10
+ jobs :
11
+ create-release :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ with :
16
+ fetch-depth : 0
17
+ token : ${{ secrets.PAT }}
18
+ - uses : Swatinem/rust-cache@v2
19
+ - name : Import GPG key
20
+ uses : crazy-max/ghaction-import-gpg@v5
21
+ with :
22
+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
23
+ git_user_signingkey : true
24
+ git_commit_gpgsign : true
25
+ git_push_gpgsign : false
26
+ - name : Install Knope
27
+ uses : knope-dev/action@v1
28
+ with :
29
+ version : 0.8.0
30
+ - name : Bump Version & Create GitHub Release
31
+ run : knope release --prerelease-label="${{ github.event.inputs.label }}"
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.PAT }}
34
+ - name : Install Poetry
35
+ run : pip install --upgrade poetry
36
+ - name : Push to PyPI
37
+ run : poetry publish --build -u __token__ -p ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
-
7
+ pull_request :
8
8
jobs :
9
9
release :
10
10
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments