Skip to content

Commit fc06582

Browse files
authored
fix: remove limited license plugin (#8)
closes #7
1 parent 0e81ab8 commit fc06582

File tree

4 files changed

+3
-26
lines changed

4 files changed

+3
-26
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ This shareable configuration use the following plugins:
2424
- [`conventional-changelog-conventionalcommits`](https://github.com/conventional-changelog/conventional-changelog)
2525
- [`@semantic-release/npm`](https://github.com/semantic-release/npm)
2626
- [`@google/semantic-release-replace-plugin`](https://github.com/google/semantic-release-replace-plugin)
27-
- [`semantic-release-license`](https://github.com/cbhq/semantic-release-license)
2827
- [`@semantic-release/git`](https://github.com/semantic-release/git)
2928
- [`@semantic-release/github`](https://github.com/semantic-release/github)
3029
- [`@eclass/semantic-release-docker`](https://github.com/eclass/semantic-release-docker)

package-lock.json

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"eclass-docker-fork": "^1.3.1",
3333
"execa": "^5.1.1",
3434
"npmlog": "^6.0.1",
35-
"semantic-release": "^19.0.2",
36-
"semantic-release-license": "^1.0.3"
35+
"semantic-release": ">=19.0.0"
3736
},
3837
"devDependencies": {
3938
"@open-sauced/check-engines": "^1.2.0",

release.config.js

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const { existsSync } = require("fs");
2-
const { sync, commandSync } = require("execa");
3-
const { resolve } = require("path");
2+
const { sync } = require("execa");
43
const log = require("npmlog");
54

65
const plugins = [];
@@ -123,20 +122,6 @@ if (actionExists) {
123122
});
124123
}
125124

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-
140125
addPlugin("@semantic-release/git", {
141126
"assets": [
142127
"LICENSE*",

0 commit comments

Comments
 (0)