Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"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"
Expand Down
12 changes: 12 additions & 0 deletions patches/@semantic-release__github.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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);
18 changes: 16 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.