Skip to content

Commit 14b67d7

Browse files
committed
Revert "include the preview suffix for vsix task as for manifest"
This reverts commit 7d70426.
1 parent b519caa commit 14b67d7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build/pack.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Task("Pack-Vsix")
214214

215215
// update version number
216216
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$version$", parameters.Version.VsixVersion);
217-
UpdateTaskVersion(new FilePath(workDir + "/GitVersionTask/task.json"), taskId, titleSuffix, parameters.Version.GitVersion);
217+
UpdateTaskVersion(new FilePath(workDir + "/GitVersionTask/task.json"), taskId, parameters.Version.GitVersion);
218218

219219
// build and pack
220220
var settings = new TfxExtensionCreateSettings

build/utils/utils.cake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,10 @@ void Build(BuildParameters parameters)
8686
});
8787
}
8888

89-
void UpdateTaskVersion(FilePath taskJsonPath, string taskId, string titleSuffix, GitVersion gitVersion)
89+
void UpdateTaskVersion(FilePath taskJsonPath, string taskId, GitVersion gitVersion)
9090
{
9191
var taskJson = ParseJsonFromFile(taskJsonPath);
9292
taskJson["id"] = taskId;
93-
taskJson["friendlyName"] += titleSuffix;
9493
taskJson["version"]["Major"] = gitVersion.Major.ToString();
9594
taskJson["version"]["Minor"] = gitVersion.Minor.ToString();
9695
taskJson["version"]["Patch"] = gitVersion.Patch.ToString();

0 commit comments

Comments
 (0)