Skip to content

Commit 0ab6814

Browse files
committed
Fix sorting bug that would break test for certain regional settings
WixFileTests.UpdateWixVersionFile()
1 parent caee0eb commit 0ab6814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionCore/OutputVariables/VersionVariables.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static IEnumerable<string> AvailableVariables
111111
.GetProperties()
112112
.Where(p => !p.GetCustomAttributes(typeof(ReflectionIgnoreAttribute), false).Any())
113113
.Select(p => p.Name)
114-
.OrderBy(a => a);
114+
.OrderBy(a => a, StringComparer.Ordinal);
115115
}
116116
}
117117

0 commit comments

Comments
 (0)