message: ci(release): Upgrade action-prepare-release to latest version
  This version reduces the boilerplate needed and offers much better publish request issue context.
diff: @@ -13,28 +13,14 @@ jobs:
  runs-on: ubuntu-latest
  name: 'Release a new version'
  steps:
  - - name: Prepare release
  - uses: getsentry/action-prepare-release@33507ed
  - with:
  - version: ${{ github.event.inputs.version }}
  - force: ${{ github.event.inputs.force }}
  - uses: actions/checkout@v2
  with:
  token: ${{ secrets.GH_RELEASE_PAT }}
  fetch-depth: 0
  - - name: Craft Prepare
  - run: npx @sentry/craft prepare --no-input "${{ env.RELEASE_VERSION }}"
  + - name: Prepare release
  + uses: getsentry/action-prepare-release@2cfce9ae4b4ef7bf34e0b7f32869128e7c903e51
  env:
  - GITHUB_API_TOKEN: ${{ github.token }}
  - - name: Request publish
  - if: success()
  - uses: actions/github-script@v3
  + GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
  with:
  - github-token: ${{ secrets.GH_RELEASE_PAT }}
  - script: |
  - const repoInfo = context.repo;
  - await github.issues.create({
  - owner: repoInfo.owner,
  - repo: 'publish',
  - title: `publish: ${repoInfo.repo}@${process.env.RELEASE_VERSION}`,
  - });
  + version: ${{ github.event.inputs.version }}
  + force: ${{ github.event.inputs.force }}
  