From 65f01d1bc999d43b6b165ff7286000fe760782f6 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Tue, 19 Mar 2024 09:28:35 -0400 Subject: [PATCH] Fix publish script for nightly releases --- scripts/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.js b/scripts/publish.js index 5a44db603a1..a50cdcaabab 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -16,7 +16,7 @@ function getTaggedVersion() { */ function publish(dir, tag) { let args = ["--access public", `--tag ${tag}`]; - if (tag === "experimental") { + if (["experimental", "nightly"].includes(tag)) { args.push(`--no-git-checks`); } else { args.push("--publish-branch release-next");