We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8cc9ea commit f2ddc3dCopy full SHA for f2ddc3d
scripts/release/utils/publish.ts
@@ -75,9 +75,14 @@ export async function publishInCI(
75
continue;
76
}
77
} catch (e) {
78
- // 404 from NPM indicates the package doesn't exist there.
79
- console.log(`Skipping pkg: ${pkg} - it has never been published to NPM.`);
80
- continue;
+ const versionParts = version.split('-');
+ if (versionParts[0] !== '0.0.1') {
+ // 404 from NPM indicates the package doesn't exist there.
81
+ console.log(
82
+ `Skipping pkg: ${pkg} - it has never been published to NPM.`
83
+ );
84
+ continue;
85
+ }
86
87
88
const tag = `${pkg}@${version}`;
0 commit comments