Skip to content

Commit ec543ff

Browse files
committed
Move AssemblyFileVersioningScheme and AssemblyVersioningScheme to separate files.
1 parent 9446385 commit ec543ff

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace GitVersion.Extensions;
2+
3+
public enum AssemblyFileVersioningScheme
4+
{
5+
MajorMinorPatchTag,
6+
MajorMinorPatch,
7+
MajorMinor,
8+
Major,
9+
None
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace GitVersion.Extensions;
2+
3+
public enum AssemblyVersioningScheme
4+
{
5+
MajorMinorPatchTag,
6+
MajorMinorPatch,
7+
MajorMinor,
8+
Major,
9+
None
10+
}

src/GitVersion.Core/Extensions/AssemblyVersionsGeneratorExtensions.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
namespace GitVersion.Extensions;
22

3-
public enum AssemblyFileVersioningScheme
4-
{
5-
MajorMinorPatchTag,
6-
MajorMinorPatch,
7-
MajorMinor,
8-
Major,
9-
None
10-
}
11-
12-
public enum AssemblyVersioningScheme
13-
{
14-
MajorMinorPatchTag,
15-
MajorMinorPatch,
16-
MajorMinor,
17-
Major,
18-
None
19-
}
20-
213
public static class AssemblyVersionsGeneratorExtensions
224
{
235
public static string? GetAssemblyVersion(this SemanticVersion sv, AssemblyVersioningScheme scheme) =>

0 commit comments

Comments
 (0)