File tree Expand file tree Collapse file tree 1 file changed +5
-22
lines changed Expand file tree Collapse file tree 1 file changed +5
-22
lines changed Original file line number Diff line number Diff line change @@ -15,31 +15,14 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
name : " Release a new version"
17
17
steps :
18
- - name : Prepare release
19
- uses : getsentry/action-prepare-release@33507ed
20
- with :
21
- version : ${{ github.event.inputs.version }}
22
- force : ${{ github.event.inputs.force }}
23
-
24
18
- uses : actions/checkout@v2
25
19
with :
26
20
token : ${{ secrets.GH_RELEASE_PAT }}
27
21
fetch-depth : 0
28
-
29
- - name : Craft Prepare
30
- run : npx @sentry/craft prepare --no-input "${{ env.RELEASE_VERSION }}"
22
+ - name : Prepare release
23
+
31
24
env :
32
- GITHUB_API_TOKEN : ${{ github.token }}
33
-
34
- - name : Request publish
35
- if : success()
36
- uses : actions/github-script@v3
25
+ GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
37
26
with :
38
- github-token : ${{ secrets.GH_RELEASE_PAT }}
39
- script : |
40
- const repoInfo = context.repo;
41
- await github.issues.create({
42
- owner: repoInfo.owner,
43
- repo: 'publish',
44
- title: `publish: ${repoInfo.repo}@${process.env.RELEASE_VERSION}`,
45
- });
27
+ version : ${{ github.event.inputs.version }}
28
+ force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments