From 6b218a5a64e43be235e5f016165d730b59c45518 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Thu, 11 Dec 2025 09:57:12 -0800 Subject: [PATCH 1/2] add release workflow --- .github/workflows/release.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..247f311 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,33 @@ +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: + - name: Get auth token + id: token + uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 + with: + app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }} + private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }} + - uses: actions/checkout@v6 + with: + token: ${{ steps.token.outputs.token }} + fetch-depth: 0 + - name: Prepare release + uses: getsentry/action-prepare-release@c8e1c2009ab08259029170132c384f03c1064c0e # v1.6.6 + env: + GITHUB_TOKEN: ${{ steps.token.outputs.token }} + with: + version: ${{ github.event.inputs.version }} + force: ${{ github.event.inputs.force }} From 2ccb152d8e5d2bd3d977a4daa3483c2c78131d6d Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Thu, 11 Dec 2025 10:25:27 -0800 Subject: [PATCH 2/2] craft --- .craft.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .craft.yml diff --git a/.craft.yml b/.craft.yml new file mode 100644 index 0000000..2ac9c87 --- /dev/null +++ b/.craft.yml @@ -0,0 +1,3 @@ +targets: + - name: github + previewReleases: false