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:
1515 runs-on : ubuntu-latest
1616 name : " Release a new version"
1717 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-
2418 - uses : actions/checkout@v2
2519 with :
2620 token : ${{ secrets.GH_RELEASE_PAT }}
2721 fetch-depth : 0
28-
29- - name : Craft Prepare
30- run : npx @sentry/craft prepare --no-input "${{ env.RELEASE_VERSION }}"
22+ - name : Prepare release
23+ uses : getsentry/action-prepare-release@v1.1
3124 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 }}
3726 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