Skip to content

Commit 2487a49

Browse files
committed
(build) Fix the publish stage
1 parent 4c8f06b commit 2487a49

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
variables: { DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 'true', DOTNET_CLI_TELEMETRY_OPTOUT: 'true' }
2+
13
stages:
24
- stage: Build
35
jobs:

build/utils/paths.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class BuildPaths
4646

4747
var vsixSuffix = parameters.IsStableRelease() ? "" : "preview-";
4848
var vsixOutputFilePath = buildArtifactDir.CombineWithFilePath("gittools.gitversion-" + vsixSuffix + version.VsixVersion + ".vsix");
49-
if (vsixOutputFilePath == null) {
49+
if (context.FileExists(vsixOutputFilePath)) {
5050
vsixOutputFilePath = context.GetFiles(buildArtifactDir + "/*.vsix").First();
5151
}
5252

0 commit comments

Comments
 (0)