forked from brad-jones/gomake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc.yml
29 lines (23 loc) · 1005 Bytes
/
.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
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: "make release VERSION=${nextRelease.version} COMMIT=https://github.com/brad-jones/gomake/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: "make publish VERSION=${nextRelease.version}"