Fix command on macOS
This commit is contained in:
parent
f6e6b2cce9
commit
906f1d8f3e
|
|
@ -109,7 +109,7 @@
|
||||||
</GetOSPlatform>
|
</GetOSPlatform>
|
||||||
|
|
||||||
<Exec Command="powershell.exe -command "(Get-Content $(DepsFile)).replace('-$(BuildNumber)','-final') | Set-Content $(DepsFile)"" Condition="'$(OSPlatform)'=='Windows'"/>
|
<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)'=='macOS'"/>
|
||||||
<Exec Command="sed -i -e "s/\-$(BuildNumber)/\-final/g" $(DepsFile)" Condition="'$(OSPlatform)'=='Linux'"/>
|
<Exec Command="sed -i -e "s/\-$(BuildNumber)/\-final/g" $(DepsFile)" Condition="'$(OSPlatform)'=='Linux'"/>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue