diff --git a/README.md b/README.md index bad233d..f216bc3 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ This shareable configuration use the following plugins: - [`conventional-changelog-conventionalcommits`](https://github.com/conventional-changelog/conventional-changelog) - [`@semantic-release/npm`](https://github.com/semantic-release/npm) - [`@google/semantic-release-replace-plugin`](https://github.com/google/semantic-release-replace-plugin) -- [`semantic-release-license`](https://github.com/cbhq/semantic-release-license) - [`@semantic-release/git`](https://github.com/semantic-release/git) - [`@semantic-release/github`](https://github.com/semantic-release/github) - [`@eclass/semantic-release-docker`](https://github.com/eclass/semantic-release-docker) diff --git a/package-lock.json b/package-lock.json index 6c403c1..2a53cde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,8 +22,7 @@ "eclass-docker-fork": "^1.3.1", "execa": "^5.1.1", "npmlog": "^6.0.1", - "semantic-release": "^19.0.2", - "semantic-release-license": "^1.0.3" + "semantic-release": "^19.0.2" }, "devDependencies": { "@open-sauced/check-engines": "^1.2.0", @@ -6552,11 +6551,6 @@ "node": ">=16 || ^14.17" } }, - "node_modules/semantic-release-license": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/semantic-release-license/-/semantic-release-license-1.0.3.tgz", - "integrity": "sha512-d+p1WSCFzIxLNPKXSkRpXWKQDBhRbp7g+w8LPzjVqFsUQ/eNw0KhMnKLoxsgVzZXAhEwpsZUx1VxBT5sjgOkIQ==" - }, "node_modules/semantic-release/node_modules/@semantic-release/error": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-3.0.0.tgz", diff --git a/package.json b/package.json index 7dd6ba4..dc441c8 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,7 @@ "eclass-docker-fork": "^1.3.1", "execa": "^5.1.1", "npmlog": "^6.0.1", - "semantic-release": "^19.0.2", - "semantic-release-license": "^1.0.3" + "semantic-release": ">=19.0.0" }, "devDependencies": { "@open-sauced/check-engines": "^1.2.0", diff --git a/release.config.js b/release.config.js index 8efde1f..49ed195 100644 --- a/release.config.js +++ b/release.config.js @@ -1,6 +1,5 @@ const { existsSync } = require("fs"); -const { sync, commandSync } = require("execa"); -const { resolve } = require("path"); +const { sync } = require("execa"); const log = require("npmlog"); const plugins = []; @@ -123,20 +122,6 @@ if (actionExists) { }); } -try { - const {stdout} = commandSync("ls -A1 LICENSE*", { - shell: true, - }); - - addPlugin("semantic-release-license", { - license: { - path: resolve(stdout) - } - }); -} catch (e) { - log.error(`Unable to run detect license command`, e); -} - addPlugin("@semantic-release/git", { "assets": [ "LICENSE*",