@semantic-release/github 10.1.6 → 10.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/verify.js +4 -1
- package/package.json +2 -2
package/lib/verify.js
CHANGED
|
@@ -109,7 +109,10 @@ export default async function verify(pluginConfig, context, { Octokit }) {
|
|
|
109
109
|
} = await octokit.request("GET /repos/{owner}/{repo}", { repo, owner });
|
|
110
110
|
// Verify if Repository Name wasn't changed
|
|
111
111
|
const parsedCloneUrl = parseGithubUrl(clone_url);
|
|
112
|
-
if (
|
|
112
|
+
if (
|
|
113
|
+
`${owner}/${repo}`.toLowerCase() !==
|
|
114
|
+
`${parsedCloneUrl.owner}/${parsedCloneUrl.repo}`.toLowerCase()
|
|
115
|
+
) {
|
|
113
116
|
errors.push(
|
|
114
117
|
getError("EMISMATCHGITHUBURL", { repositoryUrl, clone_url }),
|
|
115
118
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semantic-release/github",
|
|
3
3
|
"description": "semantic-release plugin to publish a GitHub release and comment on released Pull Requests/Issues",
|
|
4
|
-
"version": "10.1.
|
|
4
|
+
"version": "10.1.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)",
|
|
7
7
|
"ava": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"npm-run-all2": "6.2.2",
|
|
51
51
|
"prettier": "3.3.3",
|
|
52
52
|
"publint": "0.2.10",
|
|
53
|
-
"semantic-release": "24.
|
|
53
|
+
"semantic-release": "24.1.0",
|
|
54
54
|
"sinon": "18.0.0",
|
|
55
55
|
"tempy": "3.1.0"
|
|
56
56
|
},
|