diff --git a/scripts/lib/index.ts b/scripts/lib/index.ts index d03deceaa3..ee1c30e7d1 100644 --- a/scripts/lib/index.ts +++ b/scripts/lib/index.ts @@ -81,8 +81,8 @@ export function getNightlyVersion(version: string, prerelease: string | undefine const mm = String(date.getUTCMonth() + 1).padStart(2, '0'); const dd = String(date.getUTCDate()).padStart(2, '0'); - prerelease = prerelease || "dev-${today}"; - prerelease = prerelease.replace("${today}", `${yyyy}${mm}${dd}`); + prerelease = prerelease || 'dev-${today}'; + prerelease = prerelease.replace('${today}', `${yyyy}${mm}${dd}`); return `0.${minor + 1}.0-${prerelease}`; }