Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Renamed GitVersion task to UseGitVersionTask, to keep the old one ava…
…ilable
  • Loading branch information
arturcic committed Oct 7, 2019
commit 83d86946cd5048ee52bc1a53a55430d438e7eeb6
2 changes: 1 addition & 1 deletion build/pack.cake
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Task("Pack-Vsix")
var idSuffix = parameters.IsStableRelease() ? "" : "-preview";
var titleSuffix = parameters.IsStableRelease() ? "" : " (Preview)";
var visibility = parameters.IsStableRelease() ? "Public" : "Preview";
var taskId = parameters.IsStableRelease() ? "e5983830-3f75-11e5-82ed-81492570a08e" : "25b46667-d5a9-4665-97f7-e23de366ecdf";
var taskId = parameters.IsStableRelease() ? "bab30d5c-39f3-49b0-a7db-9a5da6676eaa" : "dd065e3b-6aef-46af-845c-520195836b35";

ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$idSuffix$", idSuffix);
ReplaceTextInFile(new FilePath(workDir + "/vss-extension.json"), "$titleSuffix$", titleSuffix);
Expand Down
2 changes: 1 addition & 1 deletion build/utils/paths.cake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class BuildPaths
var gemOutputFilePath = buildArtifactDir.CombineWithFilePath("gitversion-" + version.GemVersion + ".gem");

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

// Directories
var buildDirectories = new BuildDirectories(
Expand Down
12 changes: 7 additions & 5 deletions src/GitVersionVsixTask/GitVersionTask/task.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "e5983830-3f75-11e5-82ed-81492570a08e",
"name": "GitVersion",
"id": "dd065e3b-6aef-46af-845c-520195836b35",
"name": "UseGitVersion",
"friendlyName": "GitVersion Task",
"description": "Easy Semantic Versioning (http://semver.org) for projects using Git",
"author": "GitVersion Contributors",
Expand All @@ -13,7 +13,8 @@
"Patch": "2"
},
"minimumAgentVersion": "2.115.0",
"groups": [{
"groups": [
{
"name": "gitversionDetails",
"displayName": "GitVersion details",
"isExpanded": true
Expand All @@ -25,7 +26,8 @@
}
],
"instanceNameFormat": "GitVersion",
"inputs": [{
"inputs": [
{
"name": "versionSpec",
"type": "string",
"label": "The version spec",
Expand Down Expand Up @@ -101,4 +103,4 @@
"workingDirectory": "."
}
}
}
}
4 changes: 2 additions & 2 deletions src/GitVersionVsixTask/vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifestVersion": 1,
"id": "gitversion$idSuffix$",
"name": "GitVersion$titleSuffix$",
"id": "usegitversion$idSuffix$",
"name": "UseGitVersion$titleSuffix$",
"publisher": "gittools",
"public": true,
"author": "GitVersion Contributors",
Expand Down