File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : Version to release
8
+ required : true
9
+ force :
10
+ description : Force a release even when there are release-blockers (optional)
11
+ required : false
12
+
13
+ jobs :
14
+ job_release :
15
+ runs-on : ubuntu-latest
16
+ name : ' Release a new version: ${{ github.event.inputs.version }}'
17
+ steps :
18
+ - name : Check out current commit (${{ github.sha }})
19
+ uses : actions/checkout@v2
20
+ with :
21
+ token : ${{ secrets.GH_RELEASE_PAT }}
22
+ fetch-depth : 0
23
+
24
+ - name : Prepare release ${{ github.event.inputs.version }}
25
+ uses : getsentry/action-prepare-release@v1
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
28
+ with :
29
+ version : ${{ github.event.inputs.version }}
30
+ force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments