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.
2 parents f1176f6 + 2e99d1f commit af48b4eCopy full SHA for af48b4e
broccoli/version.js
@@ -29,7 +29,7 @@ module.exports.VERSION = (() => {
29
let sha = info.sha || '';
30
let suffix = process.env.BUILD_TYPE || info.branch;
31
// * remove illegal non-alphanumeric characters from branch name.
32
- suffix = suffix && suffix.replace(/[^a-zA-Z\d\s-]/, '-');
+ suffix = suffix && suffix.replace(/[^a-zA-Z\d\s-]/g, '-');
33
let metadata = sha.slice(0, 8);
34
35
return `${packageVersion}${suffix ? '-' + suffix : ''}+${metadata}`;
0 commit comments