We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65f6ba7 commit 05dc735Copy full SHA for 05dc735
1 file changed
Program.cs
@@ -88,7 +88,7 @@ public static void Main(string[] args)
88
int increment = 0;
89
90
if (lastRelease?.TagName.StartsWith(verBase, StringComparison.InvariantCulture) ?? false)
91
- increment = int.Parse(lastRelease.TagName.Split('.')[2]) + (IncrementVersion ? 1 : 0);
+ increment = int.Parse(lastRelease.TagName.Split('-').First().Split('.')[2]) + (IncrementVersion ? 1 : 0);
92
93
string version = $"{verBase}{increment}";
94
0 commit comments