@semantic-release/github 10.0.4 → 10.0.5

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.
Files changed (2) hide show
  1. package/lib/octokit.js +2 -1
  2. package/package.json +4 -4
package/lib/octokit.js CHANGED
@@ -55,7 +55,8 @@ export const SemanticReleaseOctokit = Octokit.plugin(
55
55
  export function toOctokitOptions(options) {
56
56
  const baseUrl =
57
57
  "githubApiUrl" in options && options.githubApiUrl
58
- ? options.githubApiUrl
58
+ ? // Use `urljoin` to normalize the provided URL
59
+ urljoin(options.githubApiUrl, "")
59
60
  : "githubUrl" in options && options.githubUrl
60
61
  ? urljoin(options.githubUrl, options.githubApiPathPrefix)
61
62
  : undefined;
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.0.4",
4
+ "version": "10.0.5",
5
5
  "type": "module",
6
6
  "author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)",
7
7
  "ava": {
@@ -47,9 +47,9 @@
47
47
  "fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1",
48
48
  "lockfile-lint": "4.13.2",
49
49
  "ls-engines": "0.9.1",
50
- "npm-run-all2": "6.1.2",
50
+ "npm-run-all2": "6.2.0",
51
51
  "prettier": "3.2.5",
52
- "publint": "0.2.7",
52
+ "publint": "0.2.8",
53
53
  "semantic-release": "23.1.1",
54
54
  "sinon": "18.0.0",
55
55
  "tempy": "3.1.0"
@@ -127,5 +127,5 @@
127
127
  "github>semantic-release/.github:renovate-config"
128
128
  ]
129
129
  },
130
- "packageManager": "npm@10.7.0"
130
+ "packageManager": "npm@10.8.0"
131
131
  }