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 d4392f0 commit b8ea016Copy full SHA for b8ea016
scripts/release/utils.js
@@ -51,7 +51,7 @@ const execRead = async (command, options) => {
51
const extractCommitFromVersionNumber = version => {
52
// Support stable version format e.g. "0.0.0-0e526bcec-20210202"
53
// and experimental version format e.g. "0.0.0-experimental-0e526bcec-20210202"
54
- const match = version.match(/0\.0\.0\-[0-9]{8}-([a-z]+\-){0,1}(.+)/);
+ const match = version.match(/0\.0\.0\-([a-z]+\-){0,1}([^-]+).+/);
55
if (match === null) {
56
throw Error(`Could not extra commit from version "${version}"`);
57
}
0 commit comments