Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit f702d2b

Browse files
Log out nightly version flag
1 parent b3dfe4f commit f702d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-scripts/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ async function getPackageInfo(packageDir) {
5555

5656
async function publishPackagesIfNeeded(packageInfo) {
5757
const pkgJson = packageInfo.pkg;
58+
console.log('Is nightly version:', Boolean(process.env.COMPILER_NIGHTLY), process.env.COMPILER_NIGHTLY);
5859
const isAlreadyPublished = await isPackageVersionPublished(pkgJson.name, pkgJson.version);
5960
if (isAlreadyPublished) {
6061
console.log('Already published', pkgJson.name, pkgJson.version);
6162
return;
6263
}
6364
console.log('Publishing', pkgJson.name, pkgJson.version);
6465
const publishArgs = ['-w', pkgJson.name, 'publish'];
65-
console.log('Is nightly version:', Boolean(process.env.COMPILER_NIGHTLY), process.env.COMPILER_NIGHTLY);
6666
if (process.env.COMPILER_NIGHTLY) {
6767
publishArgs.push('--tag', 'nightly');
6868
}

0 commit comments

Comments
 (0)