Skip to content

Commit ad1768b

Browse files
authored
fix(ci): add missing source.extension.cs and DeployExtension property (#1)
* fix(ci): add missing source.extension.cs and DeployExtension property - Add source.extension.cs for GHA-VSVsixVersioner action - Add DeployExtension property to csproj for CI builds * refactor: remove duplicate Vsix class from GitRangerPackage
1 parent 15e85de commit ad1768b

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

src/CodingWithCalvin.GitRanger/CodingWithCalvin.GitRanger.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<UseCodebase>true</UseCodebase>
2626
<LangVersion>latest</LangVersion>
2727
<Nullable>enable</Nullable>
28+
<DeployExtension Condition="'$(DeployExtension)' == ''">true</DeployExtension>
2829
</PropertyGroup>
2930
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3031
<DebugSymbols>true</DebugSymbols>
@@ -56,6 +57,7 @@
5657
</ItemGroup>
5758
<ItemGroup>
5859
<Compile Include="GitRangerPackage.cs" />
60+
<Compile Include="source.extension.cs" />
5961
<Compile Include="Commands\BlameCommands.cs" />
6062
<Compile Include="Commands\HistoryCommands.cs" />
6163
<Compile Include="Commands\GraphCommands.cs" />

src/CodingWithCalvin.GitRanger/GitRangerPackage.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,6 @@ private async Task RegisterCommandsAsync()
136136
}
137137
}
138138

139-
/// <summary>
140-
/// VSIX metadata constants.
141-
/// </summary>
142-
public static class Vsix
143-
{
144-
public const string Name = "Git Ranger";
145-
public const string Description = "A visually exciting Git management extension for Visual Studio";
146-
public const string Version = "1.0.0";
147-
public const string Author = "Calvin A. Allen";
148-
}
149-
150139
/// <summary>
151140
/// Package GUIDs.
152141
/// </summary>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
namespace CodingWithCalvin.GitRanger
2+
{
3+
internal static class Vsix
4+
{
5+
public const string Id = "CodingWithCalvin.VS-GitRanger";
6+
public const string Name = "Git Ranger";
7+
public const string Description = "A visually striking Git management extension for Visual Studio with inline blame, gutter annotations, and visual git graph.";
8+
public const string Language = "en-US";
9+
public const string Version = "1.0.0.0";
10+
public const string Author = "Calvin A. Allen";
11+
public const string Tags = "git, blame, history, graph, scm, source control";
12+
}
13+
}

0 commit comments

Comments
 (0)