Skip to content

Commit

Permalink
don't create empty releases
Browse files Browse the repository at this point in the history
  • Loading branch information
zisismaras committed Jul 27, 2023
1 parent 540e83a commit 4314ef9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ async function doBuild(latestVersion: string, kind: "stable" | "nightly", buildD

if (devMode) return;

if (assets.length === 0) return;

console.log(chalk.green("creating release"));
const uploadUrl = await createRelease(latestVersion, kind, currentDateTime);
for (const asset of assets) {
Expand Down

0 comments on commit 4314ef9

Please sign in to comment.