Skip to content

Commit 3d1f10d

Browse files
ci: Use craft release workflow
1 parent f1a95d0 commit 3d1f10d

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,8 @@ on:
1515

1616
jobs:
1717
release:
18-
runs-on: ubuntu-latest
19-
name: "Release a new version"
20-
steps:
21-
- name: Get auth token
22-
id: token
23-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
24-
with:
25-
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
26-
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
27-
- uses: actions/checkout@v6.0.1
28-
with:
29-
token: ${{ steps.token.outputs.token }}
30-
fetch-depth: 0
31-
- name: Prepare release
32-
uses: getsentry/action-prepare-release@v1
33-
env:
34-
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
35-
with:
36-
version: ${{ github.event.inputs.version }}
37-
force: ${{ github.event.inputs.force }}
38-
merge_target: ${{ github.event.inputs.merge_target }}
18+
uses: getsentry/craft/.github/workflows/release.yml@v2
19+
with:
20+
version: ${{ inputs.version || 'auto' }}
21+
secrets: inherit
22+

0 commit comments

Comments
 (0)