-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.releaserc.yaml
62 lines (55 loc) · 1.86 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
branches: [ 'master' ]
repositoryUrl: '[email protected]:holomekc/ioBroker.bshb.git'
tagFormat: ${version}
plugins:
# https://github.com/semantic-release/semantic-release/blob/master/docs/extending/plugins-list.md
- '@semantic-release/commit-analyzer'
- './semantic-release/changelog'
- './semantic-release/iobroker'
- '@semantic-release/git'
- '@semantic-release/exec'
- '@semantic-release/github'
- 'semantic-release-yarn'
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'
- type: 'chore'
scope: 'release'
release: false
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}"
prepare:
- path: './semantic-release/changelog'
- path: './semantic-release/iobroker'
- path: 'semantic-release-yarn'
- path: '@semantic-release/git'
assets:
- "README.md"
- "CHANGELOG_OLD.md"
- "package.json"
- "yarn.lock"
- "io-package.json"
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/ioBroker.bshb/releases/tag/' + nextRelease.version + ')' %>
fail:
- path: '@semantic-release/github'
labels: false
assignees:
- '@holomekc'