Skip to content

Commit 1031c78

Browse files
committed
fix(release): use web-ext directly instead of shipit for firefox
1 parent 5581316 commit 1031c78

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.releaserc.js

+15-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,21 @@ module.exports = {
88
{prepareCmd: 'VERSION=${nextRelease.version} npm run build'},
99
],
1010
['@semantic-release/exec', {publishCmd: 'shipit chrome dist'}],
11-
['@semantic-release/exec', {publishCmd: 'shipit firefox dist'}],
11+
[
12+
'@semantic-release/exec',
13+
{
14+
publishCmd: [
15+
'web-ext',
16+
'sign',
17+
'--source-dir',
18+
'dist',
19+
'--api-key',
20+
process.env.WEXT_SHIPIT_FIREFOX_JWT_ISSUER,
21+
'--api-secret',
22+
process.env.WEXT_SHIPIT_FIREFOX_JWT_SECRET,
23+
].join(' '),
24+
},
25+
],
1226
['@semantic-release/github'],
1327
],
1428
};

0 commit comments

Comments
 (0)