File tree Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 77 "regexManagers" : [
88 {
99 "fileMatch" : [
10- " release.*\\ .yml"
10+ " release.*\\ .yml" ,
11+ " prerelease.yml"
1112 ],
1213 "matchStrings" : [
1314 " 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 44 push :
55 branches :
66 - main
7-
7+ pull_request :
88jobs :
99 release :
1010 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments