Skip to content

Commit

Permalink
add release
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertdeng123 committed Sep 16, 2024
1 parent d267fff commit 6c36768
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
github:
owner: getsentry
repo: devservices
changelogPolicy: auto
targets:
- name: github
- name: pypi
- name: sentry-pypi
internalPypiRepo: getsentry/pypi
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on:
workflow_dispatch:
inputs:
version:
description: Version to release
required: true
force:
description: Force a release even when there are release-blockers (optional)
required: false

jobs:
release:
runs-on: ubuntu-latest
name: "Release a new version"
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_RELEASE_PAT }}
fetch-depth: 0
- name: Prepare release
uses: getsentry/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
with:
version: ${{ github.event.inputs.version }}
force: ${{ github.event.inputs.force }}

0 comments on commit 6c36768

Please sign in to comment.