Skip to content

Commit c0b99bc

Browse files
committed
release scripts
1 parent e03767e commit c0b99bc

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.craft.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
minVersion: 0.24.0
2+
changelogPolicy: auto
3+
targets:
4+
# - name: symbol-collector
5+
# includeNames: /libsentry(-android)?\.so/
6+
# batchType: android
7+
# bundleIdPrefix: sentry-unity-android-ndk-
8+
- name: upm
9+
releaseRepoOwner: getsentry
10+
releaseRepoName: unreal
11+
- name: github
12+
excludeNames: /^libsentry.*\.so$/
13+
- name: registry
14+
sdks:
15+
upm:sentry-unreal:

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: Version to release
8+
required: true
9+
force:
10+
description: Force a release even when there are release-blockers (optional)
11+
required: false
12+
13+
jobs:
14+
job_release:
15+
runs-on: ubuntu-latest
16+
name: 'Release a new version: ${{ github.event.inputs.version }}'
17+
steps:
18+
- name: Check out current commit (${{ github.sha }})
19+
uses: actions/checkout@v2
20+
with:
21+
token: ${{ secrets.GH_RELEASE_PAT }}
22+
fetch-depth: 0
23+
24+
- name: Prepare release ${{ github.event.inputs.version }}
25+
uses: getsentry/action-prepare-release@v1
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
28+
with:
29+
version: ${{ github.event.inputs.version }}
30+
force: ${{ github.event.inputs.force }}

0 commit comments

Comments
 (0)