Merge branch 'rel/2.0.0-preview1' into dev
This commit is contained in:
commit
067c426200
|
|
@ -103,6 +103,11 @@
|
|||
</Target>
|
||||
|
||||
<Target Name="_RemoveTimestampFromDepsFile">
|
||||
<GetOSPlatform>
|
||||
<!-- Returns {Linux, macOS, Windows} -->
|
||||
<Output TaskParameter="PlatformName" PropertyName="OSPlatform" />
|
||||
</GetOSPlatform>
|
||||
|
||||
<Exec Command="powershell.exe -command "(Get-Content $(DepsFile)).replace('-$(BuildNumber)','-final') | Set-Content $(DepsFile)"" Condition="'$(OSPlatform)'=='Windows'"/>
|
||||
<Exec Command="sed -i '' -e "s/\-$(BuildNumber)/\-final/g" $(DepsFile)" Condition="'$(OSPlatform)'=='macOS'"/>
|
||||
<Exec Command="sed -i -e "s/\-$(BuildNumber)/\-final/g" $(DepsFile)" Condition="'$(OSPlatform)'=='Linux'"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue