Skip to content

Commit a2157ec

Browse files
committed
Remove build number from csproj files
1 parent 8aca3eb commit a2157ec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/linux/Packaging.Linux/Packaging.Linux.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
2424

2525
<Target Name="CoreCompile" DependsOnTargets="GetBuildVersion" Condition="'$(OSPlatform)'=='linux'">
26-
<Message Text="$(MSBuildProjectDirectory)\build.sh --install-from-source=$(InstallFromSource) --configuration='$(Configuration)' --version='$(BuildVersion)'" Importance="High" />
27-
<Exec Command="$(MSBuildProjectDirectory)\build.sh --install-from-source=$(InstallFromSource) --configuration='$(Configuration)' --version='$(BuildVersion)'" />
26+
<Message Text="$(MSBuildProjectDirectory)\build.sh --install-from-source=$(InstallFromSource) --configuration='$(Configuration)' --version='$(BuildVersionSimple)'" Importance="High" />
27+
<Exec Command="$(MSBuildProjectDirectory)\build.sh --install-from-source=$(InstallFromSource) --configuration='$(Configuration)' --version='$(BuildVersionSimple)'" />
2828
</Target>
2929

3030
<Target Name="CoreClean">

src/osx/Installer.Mac/Installer.Mac.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
2222

2323
<Target Name="CoreCompile" DependsOnTargets="GetBuildVersion" Condition="'$(OSPlatform)'=='osx'">
24-
<Message Text="$(MSBuildProjectDirectory)\build.sh --configuration='$(Configuration)' --version='$(BuildVersion)'" Importance="High" />
25-
<Exec Command="$(MSBuildProjectDirectory)\build.sh --configuration='$(Configuration)' --version='$(BuildVersion)'" />
24+
<Message Text="$(MSBuildProjectDirectory)\build.sh --configuration='$(Configuration)' --version='$(BuildVersionSimple)'" Importance="High" />
25+
<Exec Command="$(MSBuildProjectDirectory)\build.sh --configuration='$(Configuration)' --version='$(BuildVersionSimple)'" />
2626
</Target>
2727

2828
<Target Name="CoreClean">

src/windows/Installer.Windows/Installer.Windows.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
before we attempt to sign any files or validate they exist. -->
3030
<Target Name="CreateFilesToSignItems" DependsOnTargets="GetBuildVersion" BeforeTargets="PrepareForRun">
3131
<ItemGroup>
32-
<FilesToSign Include="$(OutDir)gcmcore*-win-x86-$(BuildVersion).exe">
32+
<FilesToSign Include="$(OutDir)gcmcore*-win-x86-$(BuildVersionSimple).exe">
3333
<Authenticode>Microsoft400</Authenticode>
3434
<InProject>false</InProject>
3535
</FilesToSign>

0 commit comments

Comments
 (0)