diff --git a/package.json b/package.json index 600d1e59ee..a59f401f9d 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,6 @@ "verbose": "-" }, "patchedDependencies": { - "@semantic-release/github": "patches/@semantic-release__github.patch", "@yao-pkg/pkg": "patches/@yao-pkg__pkg.patch", "clipanion@3.2.1": "patches/clipanion@3.2.1.patch", "global-agent": "patches/global-agent.patch", diff --git a/patches/@semantic-release__github.patch b/patches/@semantic-release__github.patch deleted file mode 100644 index 678115c751..0000000000 --- a/patches/@semantic-release__github.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/lib/publish.js b/lib/publish.js -index b91c39d1fd1f3c251eb3b1b29200921086437f90..abcc5716de218426494123c2d33c03c463ace8e8 100644 ---- a/lib/publish.js -+++ b/lib/publish.js -@@ -52,6 +52,7 @@ export default async function publish(pluginConfig, context, { Octokit }) { - name: template(releaseNameTemplate)(context), - body: template(releaseBodyTemplate)(context), - prerelease: isPrerelease(branch), -+ make_latest: branch.type === "release" && branch.main && branch.prerelease ? "false" : "true", - }; - - debug("release object: %O", release); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1381e8aca2..4bc9e482d1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,6 @@ overrides: verbose: '-' patchedDependencies: - '@semantic-release/github': - hash: f854dc3a9f838b4d813994ac1cceb7ef4fb54c47f34a16c45478e9385adf0f89 - path: patches/@semantic-release__github.patch '@yao-pkg/pkg': hash: 962cec9feeb517459d6750d2f7006fc10f23bff901711cfd104eec8224562c32 path: patches/@yao-pkg__pkg.patch @@ -4684,7 +4681,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@semantic-release/github@12.0.5(patch_hash=f854dc3a9f838b4d813994ac1cceb7ef4fb54c47f34a16c45478e9385adf0f89)(semantic-release@25.0.3(typescript@5.9.3))': + '@semantic-release/github@12.0.5(semantic-release@25.0.3(typescript@5.9.3))': dependencies: '@octokit/core': 7.0.6 '@octokit/plugin-paginate-rest': 14.0.0(@octokit/core@7.0.6) @@ -7580,7 +7577,7 @@ snapshots: dependencies: '@semantic-release/commit-analyzer': 13.0.1(semantic-release@25.0.3(typescript@5.9.3)) '@semantic-release/error': 4.0.0 - '@semantic-release/github': 12.0.5(patch_hash=f854dc3a9f838b4d813994ac1cceb7ef4fb54c47f34a16c45478e9385adf0f89)(semantic-release@25.0.3(typescript@5.9.3)) + '@semantic-release/github': 12.0.5(semantic-release@25.0.3(typescript@5.9.3)) '@semantic-release/npm': 13.1.4(semantic-release@25.0.3(typescript@5.9.3)) '@semantic-release/release-notes-generator': 14.1.0(semantic-release@25.0.3(typescript@5.9.3)) aggregate-error: 5.0.0