forked from PolymeshAssociation/polymesh-rest-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.config.js
40 lines (39 loc) · 985 Bytes
/
release.config.js
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
module.exports = {
repositoryUrl: 'https://github.com/PolymeshAssociation/polymesh-private-rest-api.git',
branches: [
'master',
{
name: 'alpha',
prerelease: true,
},
{
name: 'confidential-assets',
prerelease: true,
},
],
// Note, the expectation is for Github plugin to create a tag that begins with `v`, which triggers a workflow that publishes a docker image
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
[
'@semantic-release/exec',
{
// eslint-disable-next-line no-template-curly-in-string
prepareCmd: './prepareRelease.sh ${nextRelease.version}',
},
],
[
'@semantic-release/npm',
{
npmPublish: false,
},
],
[
'@semantic-release/github',
{
assets: ['CHANGELOG.md', 'polymesh-private-rest-api-swagger-spec.json'],
},
],
],
};