-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.releaserc.yml
33 lines (33 loc) · 1.16 KB
/
.releaserc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
branches:
- "main"
- name: "beta"
channel: "beta"
prerelease: true
- name: "mirror"
channel: "mirror"
prerelease: true
plugins:
- '@semantic-release/github'
- '@semantic-release/release-notes-generator'
- '@semantic-release/commit-analyzer'
- - '@semantic-release/changelog'
- changelogFile: 'Assets/Mirage.Profiler/CHANGELOG.md'
- - '@semantic-release/npm'
- npmPublish: false
pkgRoot: "Assets/Mirage.Profiler"
# run prepareCmd after other steps so that changes are included in package
- - '@semantic-release/exec'
# See .release.sh for what files are included in release
- prepareCmd: "sh ./.release.sh ${nextRelease.version}"
- - '@semantic-release/git'
- assets:
- 'Assets/Mirage.Profiler/Runtime/AssemblyInfo.cs'
- 'Assets/Mirage.Profiler/Editor/AssemblyInfo.cs'
- 'Assets/Mirage.Profiler/package.json'
- 'Assets/Mirage.Profiler/CHANGELOG.md'
publish:
- path: "@semantic-release/github"
assets:
- path: "Mirage.Profiler.unitypackage"
label: "Mirage.Profiler ${nextRelease.version} Unity Package"
name: "Mirage.Profiler-${nextRelease.version}.unitypackage"