Skip to content

Commit aac1720

Browse files
committed
(build) fix publish for vsix, make run stages in parallel
1 parent 2487a49 commit aac1720

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ stages:
1818
- template: build/stages/build.yml
1919

2020
- stage: Docker
21+
dependsOn: Build
2122
condition: succeeded()
2223
jobs:
2324
- job: Docker
@@ -33,6 +34,7 @@ stages:
3334
- template: build/stages/docker.yml
3435

3536
- stage: Publish
37+
dependsOn: Build
3638
condition: succeeded()
3739
jobs:
3840
- job: Publish

build/stages/common-steps.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@ steps:
66
version: 2.2.107
77
installationPath: $(Agent.ToolsDirectory)/dotnet
88
- script: dotnet tool install --global Cake.Tool
9-
displayName: 'Install Cake tool'
10-
env:
11-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
12-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
9+
displayName: 'Install Cake tool'

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 (context.FileExists(vsixOutputFilePath)) {
49+
if (!context.FileExists(vsixOutputFilePath)) {
5050
vsixOutputFilePath = context.GetFiles(buildArtifactDir + "/*.vsix").First();
5151
}
5252

0 commit comments

Comments
 (0)