Skip to content

Commit 92c11a1

Browse files
committed
Renamed GitVersion task to UseGitVersionTask, to keep the old one available
1 parent e2b1836 commit 92c11a1

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

build/pack.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Task("Pack-Vsix")
193193
var idSuffix = parameters.IsStableRelease() ? "" : "-preview";
194194
var titleSuffix = parameters.IsStableRelease() ? "" : " (Preview)";
195195
var visibility = parameters.IsStableRelease() ? "Public" : "Preview";
196-
var taskId = parameters.IsStableRelease() ? "e5983830-3f75-11e5-82ed-81492570a08e" : "25b46667-d5a9-4665-97f7-e23de366ecdf";
196+
var taskId = parameters.IsStableRelease() ? "bab30d5c-39f3-49b0-a7db-9a5da6676eaa" : "dd065e3b-6aef-46af-845c-520195836b35";
197197

198198
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$idSuffix$", idSuffix);
199199
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$titleSuffix$", titleSuffix);

build/utils/paths.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class BuildPaths
4343
var gemOutputFilePath = buildArtifactDir.CombineWithFilePath("gitversion-" + version.GemVersion + ".gem");
4444

4545
var vsixSuffix = parameters.IsStableRelease() ? "" : "preview-";
46-
var vsixOutputFilePath = buildArtifactDir.CombineWithFilePath("gittools.gitversion-" + vsixSuffix + version.VsixVersion + ".vsix");
46+
var vsixOutputFilePath = buildArtifactDir.CombineWithFilePath("gittools.usegitversion-" + vsixSuffix + version.VsixVersion + ".vsix");
4747

4848
// Directories
4949
var buildDirectories = new BuildDirectories(

src/GitVersionVsixTask/GitVersionTask/task.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"id": "e5983830-3f75-11e5-82ed-81492570a08e",
3-
"name": "GitVersion",
2+
"id": "dd065e3b-6aef-46af-845c-520195836b35",
3+
"name": "UseGitVersion",
44
"friendlyName": "GitVersion Task",
55
"description": "Easy Semantic Versioning (http://semver.org) for projects using Git",
66
"author": "GitVersion Contributors",
@@ -13,7 +13,8 @@
1313
"Patch": "2"
1414
},
1515
"minimumAgentVersion": "2.115.0",
16-
"groups": [{
16+
"groups": [
17+
{
1718
"name": "gitversionDetails",
1819
"displayName": "GitVersion details",
1920
"isExpanded": true
@@ -25,7 +26,8 @@
2526
}
2627
],
2728
"instanceNameFormat": "GitVersion",
28-
"inputs": [{
29+
"inputs": [
30+
{
2931
"name": "versionSpec",
3032
"type": "string",
3133
"label": "The version spec",
@@ -101,4 +103,4 @@
101103
"workingDirectory": "."
102104
}
103105
}
104-
}
106+
}

src/GitVersionVsixTask/vss-extension.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifestVersion": 1,
3-
"id": "gitversion$idSuffix$",
4-
"name": "GitVersion$titleSuffix$",
3+
"id": "usegitversion$idSuffix$",
4+
"name": "UseGitVersion$titleSuffix$",
55
"publisher": "gittools",
66
"public": true,
77
"author": "GitVersion Contributors",

0 commit comments

Comments
 (0)