diff --git a/build/package/Installer.DEB.targets b/build/package/Installer.DEB.targets index b01e9bfc3..349089d86 100644 --- a/build/package/Installer.DEB.targets +++ b/build/package/Installer.DEB.targets @@ -107,10 +107,10 @@ $(SdkBrandName) - $(MicrosoftNETCoreAppPackageVersion) + $(MicrosoftNETCoreAppPackageVersionWithTilda) - $(AspNetCoreVersion) + $(AspNetCoreVersionWithTilda) diff --git a/build/package/LinuxNativeInstallerDependencyVersions.targets b/build/package/LinuxNativeInstallerDependencyVersions.targets index e3b915e81..27acc4fb3 100644 --- a/build/package/LinuxNativeInstallerDependencyVersions.targets +++ b/build/package/LinuxNativeInstallerDependencyVersions.targets @@ -9,6 +9,10 @@ $(MicrosoftNETCoreAppPackageVersion.IndexOf('-')) $(MicrosoftNETCoreAppPackageVersion) $(MicrosoftNETCoreAppPackageVersion.Substring(0, $(MicrosoftNETCoreAppVersionPreReleaseSeparator))) + $([MSBuild]::Add($(MicrosoftNETCoreAppVersionPreReleaseSeparator), 1)) + $(MicrosoftNETCoreAppPackageVersion.Substring($(MicrosoftNETCoreAppVersionPreReleaseSeparatorStartIndex))) + $(MicrosoftNETCoreAppMajorMinorPatchVersion) + $(MicrosoftNETCoreAppMajorMinorPatchVersion)~$(MicrosoftNETCoreVersionSuffix) $([MSBuild]::Add($(AspNetCoreVersion.IndexOf('.')), 1)) $(AspNetCoreVersion.IndexOf('.', $(AspNetCoreVersionPatchSeparatorIndex))) @@ -17,6 +21,10 @@ $(AspNetCoreVersion.IndexOf('-')) $(AspNetCoreVersion) $(AspNetCoreVersion.Substring(0, $(AspNetCoreVersionPreReleaseSeparator))) + $([MSBuild]::Add($(AspNetCoreVersionPreReleaseSeparator), 1)) + $(AspNetCoreVersion.Substring($(AspNetCoreVersionPreReleaseSeparatorStartIndex))) + $(AspNetCoreMajorMinorPatchVersion) + $(AspNetCoreMajorMinorPatchVersion)~$(AspNetCoreVersionSuffix) $([MSBuild]::Add($(HostFxrVersion.IndexOf('.')), 1)) $(HostFxrVersion.IndexOf('.', $(HostFxrVersionPatchSeparatorIndex)))