-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIncrementType.cs
47 lines (43 loc) · 1.5 KB
/
IncrementType.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
namespace Chasm.SemanticVersioning
{
/// <summary>
/// <para>Defines semantic version increment types.</para>
/// </summary>
public enum IncrementType : byte
{
/// <summary>
/// <para>Specifies no changes.</para>
/// </summary>
None,
/// <summary>
/// <para>Specifies incrementing to the next major version.</para>
/// </summary>
Major,
/// <summary>
/// <para>Specifies incrementing to the next minor version.</para>
/// </summary>
Minor,
/// <summary>
/// <para>Specifies incrementing to the next patch version.</para>
/// </summary>
Patch,
/// <summary>
/// <para>Specifies incrementing to a pre-release of the next major version.</para>
/// </summary>
PreMajor,
/// <summary>
/// <para>Specifies incrementing to a pre-release of the next minor version.</para>
/// </summary>
PreMinor,
/// <summary>
/// <para>Specifies incrementing to a pre-release of the next patch version.</para>
/// </summary>
PrePatch,
/// <summary>
/// <para>Specifies incrementing to the next pre-release.</para>
/// </summary>
PreRelease,
// TODO (v3): It would have been nice if PreRelease was put right after Major, Minor and Patch.
// Then it'd be possible to combine values: PreRelease (0b100) | Minor (0b010) = PreMinor (0b110)
}
}