-
Notifications
You must be signed in to change notification settings - Fork 1
/
.releaserc.yml
28 lines (23 loc) · 1.05 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
plugins:
# Determine the type of release by analyzing commits.
# ie: Major, Minor or Patch
- "@semantic-release/commit-analyzer"
# Generate CHANGELOG.md
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
# Build the release artifacts
# This includes tarballs, rpms/debs, docker images, etc
- - "@semantic-release/exec"
- prepareCmd: "npx ts-node ./Makefile.ts prepareRelease --version-no ${nextRelease.version} --commit-url https://github.com/brad-jones/winsudo/commit/${commits[0].commit.long} --date ${Date.now()}"
# Commit CHANGELOG.md back to repo
- - "@semantic-release/git"
- assets: [CHANGELOG.md]
message: "chore(release): update changelog [skip ci]"
# Create new github release
- - "@semantic-release/github"
- assets:
- path: "./dist/github-downloads/**/*"
- path: "./dist/github-downloads/**/*.*"
# Run final publish tasks, such as docker push
- - "@semantic-release/exec"
- publishCmd: "npx ts-node ./Makefile.ts publishRelease --version-no ${nextRelease.version}"