Skip to content

Commit dc1db2b

Browse files
committed
ci(release): add npm tarball to GitHub publish
1 parent f9b58a4 commit dc1db2b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.releaserc.js

+10-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@ module.exports = {
1616
],
1717
},
1818
],
19-
['@semantic-release/release-notes-generator'],
20-
['@semantic-release/changelog'],
21-
['@semantic-release/npm'],
22-
['@semantic-release/git'],
23-
['@semantic-release/github'],
19+
'@semantic-release/release-notes-generator',
20+
'@semantic-release/changelog',
21+
['@semantic-release/npm', { tarballDir: 'dist' }],
22+
'@semantic-release/git',
23+
[
24+
'@semantic-release/github',
25+
{
26+
assets: 'dist/*.tgz',
27+
},
28+
],
2429
],
2530
preset: 'conventionalcommits',
2631
presetConfig: {

0 commit comments

Comments
 (0)