Skip to content
Merged
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
13 changes: 7 additions & 6 deletions script/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ if (Script.release) {
await $`bun ./packages/desktop/scripts/publish.ts`
}

if (Script.release && Script.channel === "latest") {
console.log("\n=== winget ===\n")
// Everything else is published by now, and WinGet validation can reject a submission for reasons unrelated to the release.
if ((await $`bun ./script/publish-winget.ts`.nothrow()).exitCode !== 0)
console.log("::warning::WinGet submission failed; see the winget step output above")
}
// WinGet submission is paused until our packages are accepted into microsoft/winget-pkgs.
// if (Script.release && Script.channel === "latest") {
// console.log("\n=== winget ===\n")
// // Everything else is published by now, and WinGet validation can reject a submission for reasons unrelated to the release.
// if ((await $`bun ./script/publish-winget.ts`.nothrow()).exitCode !== 0)
// console.log("::warning::WinGet submission failed; see the winget step output above")
// }
Loading