Commit 08ab4a9
committed
Fix publish version output and redundant country-code pattern
The publish workflow used GitVersion's nuGetVersionV2 output, which was
removed in GitVersion 6, so -p:Version came through empty and the build
failed on newer SDKs (GenerateDepsFile missing AssemblyVersion). Switch to
the semVer output for both build and pack.
Also fix Alpha2CountryCodeAttribute: 'is not > A and < Z' parsed as
'(<= A) and (< Z)' (CS9336 redundant pattern) and wrongly excluded the
letters A and Z. Use 'is not (>= A and <= Z)' to reject only non-uppercase
characters.1 parent 6f14bdc commit 08ab4a9
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments