Skip to content

Commit fe9cd09

Browse files
Bug fix: version replacement dependency on <VERSION_STRING>
1 parent 42ab6df commit fe9cd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/src/gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function ReplaceVersionInVersionFile() {
1717
let DTVersionArr = argv.newVersion.split(".");
1818
DTVersionArr.splice(2);
1919
return src(["../../microsoft-graph.d.ts"])
20-
.pipe(replace(/Type definitions for non-npm package microsoft-graph <VERSION_STRING>/g, `Type definitions for non-npm package microsoft-graph ${DTVersionArr.join(".")}`))
20+
.pipe(replace(/Type definitions for non-npm package microsoft-graph .+/g, `Type definitions for non-npm package microsoft-graph ${DTVersionArr.join(".")}`))
2121
.pipe(dest("../../"));
2222
}
2323

0 commit comments

Comments
 (0)