Skip to content

Commit 4c8f06b

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/utils/paths.cake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ 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) {
50+
vsixOutputFilePath = context.GetFiles(buildArtifactDir + "/*.vsix").First();
51+
}
4952

5053
// Directories
5154
var buildDirectories = new BuildDirectories(

0 commit comments

Comments
 (0)