File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 3636 </PropertyGroup >
3737 <!-- Date/time based versioning (mainly used by natives) -->
3838 <Target Name =" SilkAddDateTime" Condition =" '$(SilkGitDirForVersion)' != ''" >
39+ <PropertyGroup Condition =" '$(OS)' == 'Windows_NT'" >
40+ <SilkGitDateTimeFormat >%25%25cI</SilkGitDateTimeFormat >
41+ </PropertyGroup >
42+ <PropertyGroup Condition =" '$(OS)' != 'Windows_NT'" >
43+ <SilkGitDateTimeFormat >%25cI</SilkGitDateTimeFormat >
44+ </PropertyGroup >
3945 <Exec ConsoleToMSBuild =" True"
40- Command =" git show -s " --format=%25%25cI " "
46+ Command =" git show -s " --format=$(SilkGitDateTimeFormat) " "
4147 WorkingDirectory =" $(SilkGitDirForVersion)" >
4248 <Output TaskParameter =" ConsoleOutput" PropertyName =" _SilkGitIdt" />
4349 </Exec >
Original file line number Diff line number Diff line change 1+ <Project >
2+ <PropertyGroup >
3+ <SilkNativePackage >true</SilkNativePackage >
4+ </PropertyGroup >
5+ </Project >
You can’t perform that action at this time.
0 commit comments