forked from wiremock/wiremock
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.releaserc.yaml
45 lines (39 loc) · 1.42 KB
/
.releaserc.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
branches: [ "master" ]
repositoryUrl: "[email protected]:holomekc/wiremock.git"
tagFormat: ${version}
plugins:
# https://github.com/semantic-release/semantic-release/blob/master/docs/extending/plugins-list.md
- "@semantic-release/commit-analyzer"
- "@semantic-release/exec"
- "@semantic-release/github"
dryRun: false
ci: true
analyzeCommits:
# https://github.com/semantic-release/commit-analyzer
- path: "@semantic-release/commit-analyzer"
preset: "conventionalcommits"
# Default rules: https://github.com/semantic-release/commit-analyzer/blob/master/lib/default-release-rules.js
releaseRules:
- type: "chore"
scope: "deps"
release: "patch"
verifyRelease:
- path: "@semantic-release/exec"
verifyReleaseCmd: |
#!/bin/bash
echo "version=${nextRelease.version}" >> "$GITHUB_OUTPUT" || echo "Most likely no ci env. Skipping export of ${nextRelease.version}"
generateNotes: false
publish: false
success:
- path: "@semantic-release/exec"
successCmd: |
#!/bin/bash
./release-tags.sh "${nextRelease.version}"
- path: "@semantic-release/github"
successComment: |
:tada: This <%= issue.pull_request ? 'pull request' : 'issue' %> is included in version <%= '[' + nextRelease.version + '](https://github.com/holomekc/wiremock/releases/tag/' + nextRelease.version + ')' %>
fail:
- path: "@semantic-release/github"
labels: false
assignees:
- "@holomekc"