Skip to content

Commit 36284cf

Browse files
authored
Merge pull request #534 from microsoft/main
New release (attempt 2)
2 parents e1c2b45 + 0d360ac commit 36284cf

File tree

12 files changed

+34
-11
lines changed

12 files changed

+34
-11
lines changed

.azure-pipelines/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ trigger:
33

44
variables:
55
configuration: Release
6-
signPool: VSEng-MicroBuildVS2019
6+
signPool: MSEngSS-MicroBuild2019-1ES
77
winImage: vs2017-win2016
88
osxImage: macos-latest
99

.azure-pipelines/templates/osx/pack.signed/step2-signpayload.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
steps:
2-
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@2
2+
- task: NuGetAuthenticate@0
3+
displayName: Authenticate to MicroBuild NuGet feed
4+
inputs:
5+
nuGetServiceConnections: 'MicroBuild Toolset Nuget Feed (Read)'
6+
7+
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@3
38
displayName: Install signing plugin
49
inputs:
510
signType: '$(SignType)'

.azure-pipelines/templates/osx/pack.signed/step4-signpack.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
steps:
2-
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@2
2+
- task: NuGetAuthenticate@0
3+
displayName: Authenticate to MicroBuild NuGet feed
4+
inputs:
5+
nuGetServiceConnections: 'MicroBuild Toolset Nuget Feed (Read)'
6+
7+
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@3
38
displayName: Install signing plugin
49
inputs:
510
signType: '$(SignType)'

.azure-pipelines/templates/windows/compile.signed.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
steps:
2-
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@2
2+
- task: NuGetAuthenticate@0
3+
displayName: Authenticate to MicroBuild NuGet feed
4+
inputs:
5+
nuGetServiceConnections: 'MicroBuild Toolset Nuget Feed (Read)'
6+
7+
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@3
38
displayName: Install signing plugin
49
condition: and(succeeded(), eq(variables['SignType'], 'real'))
510
inputs:

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ Download the latest [.deb package](https://github.com/microsoft/Git-Credential-M
9696
sudo dpkg -i <path-to-package>
9797
git-credential-manager-core configure
9898
```
99+
__Note:__ Although packages were previously offered on certain
100+
[Microsoft Ubuntu package feeds](https://packages.microsoft.com/repos/),
101+
GCM no longer publishes to these repositories. Please install the
102+
Debian package using the above instructions instead.
99103

100104
#### Other distributions
101105

src/osx/SignFiles.Mac/SignFiles.Mac.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="MicroBuild.Core" Version="0.2.0">
15+
<PackageReference Include="Microsoft.VisualStudioEng.MicroBuild.Core" Version="1.0.0">
1616
<!-- Development dependency only -->
1717
<PrivateAssets>all</PrivateAssets>
1818
</PackageReference>

src/shared/Core.UI/HelperApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private void OnException(Exception ex, InvocationContext invocationContext)
4949
WriteException(ex);
5050
}
5151

52-
invocationContext.ResultCode = -1;
52+
invocationContext.ExitCode = -1;
5353
}
5454

5555
private bool WriteException(Exception ex)

src/shared/Core/Application.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private void OnException(Exception ex, InvocationContext invocationContext)
128128
WriteException(ex);
129129
}
130130

131-
invocationContext.ResultCode = -1;
131+
invocationContext.ExitCode = -1;
132132
}
133133

134134
private bool WriteException(Exception ex)

src/shared/Core/BrowserUtils.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ public static void OpenDefaultBrowser(IEnvironment environment, Uri uri)
3939
//
4040
// We try and use the same 'shell execute' utilities as the Framework does,
4141
// searching for them in the same order until we find one.
42-
foreach (string shellExec in new[] {"xdg-open", "gnome-open", "kfmclient"})
42+
//
43+
// One additional 'shell execute' utility we also attempt to use is `wslview`
44+
// that is commonly found on WSL (Windows Subsystem for Linux) distributions that
45+
// opens the browser on the Windows host.
46+
foreach (string shellExec in new[] {"xdg-open", "gnome-open", "kfmclient", "wslview"})
4347
{
4448
if (environment.TryLocateExecutable(shellExec, out string shellExecPath))
4549
{

src/shared/Core/Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
2121
<PackageReference Include="Microsoft.Identity.Client" Version="4.37.0" />
2222
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="2.19.2" />
23-
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20574.7" />
23+
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21216.1" />
2424
</ItemGroup>
2525

2626
</Project>

0 commit comments

Comments
 (0)