Skip to content

Commit

Permalink
release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Aug 15, 2022
1 parent e03767e commit c0b99bc
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
minVersion: 0.24.0
changelogPolicy: auto
targets:
# - name: symbol-collector
# includeNames: /libsentry(-android)?\.so/
# batchType: android
# bundleIdPrefix: sentry-unity-android-ndk-
- name: upm
releaseRepoOwner: getsentry
releaseRepoName: unreal
- name: github
excludeNames: /^libsentry.*\.so$/
- name: registry
sdks:
upm:sentry-unreal:
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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:
job_release:
runs-on: ubuntu-latest
name: 'Release a new version: ${{ github.event.inputs.version }}'
steps:
- name: Check out current commit (${{ github.sha }})
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_RELEASE_PAT }}
fetch-depth: 0

- name: Prepare release ${{ github.event.inputs.version }}
uses: getsentry/action-prepare-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
with:
version: ${{ github.event.inputs.version }}
force: ${{ github.event.inputs.force }}

0 comments on commit c0b99bc

Please sign in to comment.