-
Notifications
You must be signed in to change notification settings - Fork 4
/
release.config.js
29 lines (28 loc) · 1.01 KB
/
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
'use strict'
module.exports = {
// eslint-disable-next-line no-template-curly-in-string
tagFormat: '${version}',
branches: 'release',
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
['@semantic-release/npm', {
npmPublish: false,
}],
['@semantic-release/exec', {
prepareCmd: 'npx vsce package',
publishCmd: 'npx vsce publish --pat $VSCE_TOKEN',
}],
'@semantic-release/git',
['@semantic-release/github', {
assets: [
{ path: '*.vsix', label: 'remedy.vsix' },
{ path: 'resources/terminal/Remedy - Dark.terminal', label: 'Remedy - Dark.terminal' },
{ path: 'resources/terminal/Remedy - Bright.terminal', label: 'Remedy - Bright.terminal' },
{ path: 'resources/iTerm2/Remedy - Dark.itermcolors', label: 'Remedy - Dark.itermcolors' },
{ path: 'resources/iTerm2/Remedy - Bright.itermcolors', label: 'Remedy - Bright.itermcolors' },
],
}],
],
}