File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ public override void Run(Context context)
3232 // Set all package.json in Admin Experience to the current version and to consume the current (local) version of dnn-react-common.
3333 foreach ( var file in packages )
3434 {
35- context . Information ( $ "Updating { file } to version { context . Version . SemVer } ") ;
35+ context . Information ( $ "Updating { file } to version { context . Version . MajorMinorPatch } ") ;
3636 context . ReplaceRegexInFiles (
3737 file . ToString ( ) ,
3838 @"""version"": "".*""" ,
39- $@ """version"": ""{ context . Version . SemVer } """);
39+ $@ """version"": ""{ context . Version . MajorMinorPatch } """);
4040 context.ReplaceRegexInFiles(
4141 file.ToString(),
4242 @""" @dnnsoftware\/dnn- react - common"": " ".*" "" ,
43- $@ """@dnnsoftware/dnn-react-common"": ""{ context . Version . SemVer } """);
43+ $@ """@dnnsoftware/dnn-react-common"": ""{ context . Version . MajorMinorPatch } """);
4444 }
4545 }
4646 }
You can’t perform that action at this time.
0 commit comments