File tree Expand file tree Collapse file tree 4 files changed +3
-26
lines changed Expand file tree Collapse file tree 4 files changed +3
-26
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ This shareable configuration use the following plugins:
24
24
- [ ` conventional-changelog-conventionalcommits ` ] ( https://github.com/conventional-changelog/conventional-changelog )
25
25
- [ ` @semantic-release/npm ` ] ( https://github.com/semantic-release/npm )
26
26
- [ ` @google/semantic-release-replace-plugin ` ] ( https://github.com/google/semantic-release-replace-plugin )
27
- - [ ` semantic-release-license ` ] ( https://github.com/cbhq/semantic-release-license )
28
27
- [ ` @semantic-release/git ` ] ( https://github.com/semantic-release/git )
29
28
- [ ` @semantic-release/github ` ] ( https://github.com/semantic-release/github )
30
29
- [ ` @eclass/semantic-release-docker ` ] ( https://github.com/eclass/semantic-release-docker )
Original file line number Diff line number Diff line change 32
32
"eclass-docker-fork" : " ^1.3.1" ,
33
33
"execa" : " ^5.1.1" ,
34
34
"npmlog" : " ^6.0.1" ,
35
- "semantic-release" : " ^19.0.2" ,
36
- "semantic-release-license" : " ^1.0.3"
35
+ "semantic-release" : " >=19.0.0"
37
36
},
38
37
"devDependencies" : {
39
38
"@open-sauced/check-engines" : " ^1.2.0" ,
Original file line number Diff line number Diff line change 1
1
const { existsSync } = require ( "fs" ) ;
2
- const { sync, commandSync } = require ( "execa" ) ;
3
- const { resolve } = require ( "path" ) ;
2
+ const { sync } = require ( "execa" ) ;
4
3
const log = require ( "npmlog" ) ;
5
4
6
5
const plugins = [ ] ;
@@ -123,20 +122,6 @@ if (actionExists) {
123
122
} ) ;
124
123
}
125
124
126
- try {
127
- const { stdout} = commandSync ( "ls -A1 LICENSE*" , {
128
- shell : true ,
129
- } ) ;
130
-
131
- addPlugin ( "semantic-release-license" , {
132
- license : {
133
- path : resolve ( stdout )
134
- }
135
- } ) ;
136
- } catch ( e ) {
137
- log . error ( `Unable to run detect license command` , e ) ;
138
- }
139
-
140
125
addPlugin ( "@semantic-release/git" , {
141
126
"assets" : [
142
127
"LICENSE*" ,
You can’t perform that action at this time.
0 commit comments