Skip to content

Commit 4ebc145

Browse files
committed
Fix versions
1 parent 62b534f commit 4ebc145

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Installers/Windows/Wix.targets

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project>
22
<!-- Set versioning properties after Arcade SDK targets have been imported. -->
33
<PropertyGroup>
4-
<!-- Used for generating stable upgrade codes for bundles -->
5-
<Version>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).$(FileRevisionVersion)</Version>
64
<!-- Actual upgrade code used in bundles to ensure upgrades withing a version band, e.g. 3.0.0.xxx -->
75
<_FileRevisionVersion>$(VersionSuffixDateStamp)</_FileRevisionVersion>
86
<_FileRevisionVersion Condition=" '$(_FileRevisionVersion)' == '' ">42424</_FileRevisionVersion>
9-
<BundleVersion>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion)</BundleVersion>
7+
<BundleVersion>$(AspNetCoreMajorMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion)</BundleVersion>
8+
<!-- Used for generating stable upgrade codes for bundles -->
9+
<Version>$(BundleVersion)</Version>
1010

1111
<DefineConstants>$(DefineConstants);MajorVersion=$(AspNetCoreMajorVersion)</DefineConstants>
1212
<DefineConstants>$(DefineConstants);MinorVersion=$(AspNetCoreMinorVersion)</DefineConstants>
@@ -21,7 +21,7 @@
2121
</PropertyGroup>
2222

2323
<PropertyGroup>
24-
<GuidInputs>$(Version);$(Platform);$(VersionSuffix);$(_BuildNumberLabels)</GuidInputs>
24+
<GuidInputs>$(Version);$(Platform);$(VersionSuffix)</GuidInputs>
2525
</PropertyGroup>
2626

2727
<Target Name="GenerateGUIDs" BeforeTargets="BeforeBuild" DependsOnTargets="_GeneratePackageGuids;_GenerateBundleGuids" Condition=" '$(DisableGuidGeneration)' != 'true' " />
@@ -44,7 +44,7 @@
4444
the upgrade code. Bundle upgrades pivot on Major.Minor.Patch changes. For example, 3.0.1-preview 1 can upgrade to 3.0.1-preview 8, but 3.0.1
4545
cannot upgrade to 3.0.2 or 3.1. -->
4646
<PropertyGroup>
47-
<BundleGuidInputs>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion);$(Platform)</BundleGuidInputs>
47+
<BundleGuidInputs>$(AspNetCoreMajorMinorVersion);$(Platform)</BundleGuidInputs>
4848
</PropertyGroup>
4949
<GenerateGuid NamespaceGuid="$(NamespaceGuid)" Values="$(BundleGuidInputs)">
5050
<Output TaskParameter="Guid" PropertyName="BundleProviderKey" />

0 commit comments

Comments
 (0)