This repository was archived by the owner on Aug 18, 2024. It is now read-only.
File tree 3 files changed +2
-19
lines changed
3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- const path = require ( 'path' ) ;
4
-
5
- const npmrcPath = process . env . NPM_CONFIG_USERCONFIG || path . resolve ( process . cwd ( ) , '.npmrc' ) ;
6
-
7
3
module . exports = {
8
4
npmPublish : true ,
9
5
tarballDir : '.' ,
10
- assets : 'allow-scripts-*.tgz' ,
11
- plugins : [
12
- '@semantic-release/commit-analyzer' ,
13
- '@semantic-release/release-notes-generator' ,
14
- '@semantic-release/npm' ,
15
- [
16
- '@semantic-release/exec' ,
17
- {
18
- prepareCmd : `echo -e "\notp=$(curl -s $NPM_OTP_URL)" >>${ npmrcPath } `
19
- }
20
- ] ,
21
- '@semantic-release/github'
22
- ]
6
+ assets : 'allow-scripts-*.tgz'
23
7
} ;
Original file line number Diff line number Diff line change 22
22
provider : " script"
23
23
skip_cleanup : true
24
24
script :
25
- - " npx semantic-release"
25
+ - " NPM_CONFIG_OTP=$(curl -s $NPM_OTP_URL) npx semantic-release"
Original file line number Diff line number Diff line change 25
25
"@commitlint/config-conventional" : " 8.x.x" ,
26
26
"@hapi/code" : " 6.x.x" ,
27
27
"@hapi/lab" : " 20.x.x" ,
28
- "@semantic-release/exec" : " 3.x.x" ,
29
28
"mkdirp" : " 0.5.x" ,
30
29
"rimraf" : " 3.x.x" ,
31
30
"semantic-release" : " 15.x.x" ,
You can’t perform that action at this time.
0 commit comments