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 ddc3192 commit f3a8df7Copy full SHA for f3a8df7
scripts/release/poll-npm-publish.js
@@ -35,10 +35,10 @@ async function pollNpmPublish() {
35
reject(error);
36
}
37
const version = stdout.trim();
38
- if (!version.match(/^\d+\.\d+\.\d+$/)) {
+ if (!version.match(/^\d+(\.[-\d\w]+)+$/)) {
39
reject(
40
new Error(
41
- `npm view did not return a valid semver version. Received: ${version}`
+ `npm view did not return a valid tag. Received: ${version}`
42
)
43
);
44
0 commit comments