Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gfx committed Feb 7, 2025
1 parent d153e33 commit 442d035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/get-release-tag.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
import packageJson from "../package.json" with { type: "json" };

const matched = /-(beta|rc)\d+$/.exec(packageJson.version);
console.log(matched[1] ?? "latest");
console.log(matched?.[1] ?? "latest");

0 comments on commit 442d035

Please sign in to comment.