We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8652ce6 commit 9cd778fCopy full SHA for 9cd778f
.github/workflows/release.yml
@@ -42,6 +42,13 @@ jobs:
42
throw "Unsupported tag version format '$tagVersion'. Expected 3 or 4 numeric segments."
43
}
44
45
+ $versionParts = $tagVersion.Split(".")
46
+ foreach ($part in $versionParts) {
47
+ if ($part -notmatch '^\d+$') {
48
+ throw "Unsupported tag version '$tagVersion'. Each segment in versionParts must be numeric before calling vpatch."
49
+ }
50
51
+
52
vpatch --stamp-version "$tagVersion" --target-file "Injector/Injector.rc" --resource.file-version --resource.product-version
53
54
- name: Add MSBuild to PATH
0 commit comments