Skip to content

Commit 5671681

Browse files
authored
Merge pull request #603 from mono/develop
bump mdoc to 5.8.6.1
2 parents f8a55d4 + ae095dc commit 5671681

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

azure-pipelines.lgtm.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ schedules:
1313
- main
1414

1515
pool:
16-
vmImage: 'windows-latest'
16+
vmImage: 'windows-2019'
1717

1818
variables:
1919
- name: LGTM.SnapshotIdentifiers
@@ -26,12 +26,15 @@ variables:
2626
value: true
2727
- name: buildConfiguration
2828
value: Release
29+
- name: msbuild
30+
value: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe'
2931

3032
steps:
3133
- task: NuGetToolInstaller@1
3234
displayName: Install NuGet Tool
3335

3436
- task: NuGetCommand@2
37+
displayName: NuGet restore
3538
inputs:
3639
command: 'restore'
3740
restoreSolution: '**/*.sln'
@@ -45,12 +48,8 @@ steps:
4548
toolVersion: 'LatestPreRelease'
4649
sourceCodeDirectory: '$(Build.SourcesDirectory)'
4750
language: 'csharp'
48-
cleanupBuildCommands: |
49-
dotnet clean mdoc/mdoc.csproj --configuration $(buildConfiguration)
50-
dotnet clean monodoc/monodoc.csproj --configuration $(buildConfiguration)
51-
buildCommands: |
52-
dotnet build mdoc/mdoc.csproj --configuration $(buildConfiguration)
53-
dotnet build monodoc/monodoc.csproj --configuration $(buildConfiguration)
51+
cleanupBuildCommands: 'dotnet clean apidoctools.sln --configuration $(buildConfiguration)'
52+
buildCommands: '"$(msbuild)" apidoctools.sln /p:Configuration=$(buildConfiguration)'
5453
querySuite: 'Required'
5554
timeout: '7200'
5655
ram: '16384'

mdoc/Consts.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace Mono.Documentation
33
{
44
public static class Consts
55
{
6-
public static string MonoVersion = "5.8.6";
6+
public static string MonoVersion = "5.8.6.1";
77
public const string DocId = "DocId";
88
public const string CppCli = "C++ CLI";
99
public const string CppCx = "C++ CX";

mdoc/Mono.Documentation/MDocUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ private void CleanupFiles (string dest, HashSet<string> goodfiles)
14181418

14191419
private static TextWriter OpenWrite (string path, FileMode mode)
14201420
{
1421-
var fs = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? QuickIOFile.Open(Path.GetFullPath(path), mode) : new FileStream(path, mode);
1421+
var fs = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && Path.GetFullPath(path).Length>=260 ? QuickIOFile.Open(Path.GetFullPath(path), mode) : new FileStream(path, mode);
14221422
var w = new StreamWriter (fs, new UTF8Encoding (false));
14231423
w.NewLine = "\n";
14241424
return w;

mdoc/mdoc.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>mdoc</id>
5-
<version>5.8.6</version>
5+
<version>5.8.6.1</version>
66
<title>mdoc</title>
77
<authors>Microsoft</authors>
88
<owners>Microsoft</owners>

0 commit comments

Comments
 (0)