Skip to content

Commit 16ae98e

Browse files
thoemmiarturcic
authored andcommitted
adds Preview suffix to VSIX task name when appropriate
1 parent 14b67d7 commit 16ae98e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build/pack.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ Task("Pack-Vsix")
211211
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$idSuffix$", idSuffix);
212212
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$titleSuffix$", titleSuffix);
213213
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$visibility$", visibility);
214+
ReplaceTextInFile(new FilePath(workDir + "/GitVersionTask/task.json"), "$titleSuffix$", titleSuffix);
214215

215216
// update version number
216217
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$version$", parameters.Version.VsixVersion);

src/GitVersionVsixTask/GitVersionTask/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "dd065e3b-6aef-46af-845c-520195836b35",
33
"name": "UseGitVersion",
4-
"friendlyName": "GitVersion Task",
4+
"friendlyName": "GitVersion Task$titleSuffix$",
55
"description": "Easy Semantic Versioning (http://semver.org) for projects using Git",
66
"author": "GitVersion Contributors",
77
"helpMarkDown": "See the [documentation](http://gitversion.readthedocs.org/en/latest/) for help",

0 commit comments

Comments
 (0)