From e6f68553dd335b83aee41e66ecee46edc16feba7 Mon Sep 17 00:00:00 2001 From: zack olson Date: Tue, 26 Nov 2024 11:21:10 -0500 Subject: [PATCH] use new VersionNumFromSemver from kit --- pkg/packagekit/package_wix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/packagekit/package_wix.go b/pkg/packagekit/package_wix.go index e5c78b14c..5d8b8d40e 100644 --- a/pkg/packagekit/package_wix.go +++ b/pkg/packagekit/package_wix.go @@ -57,7 +57,7 @@ func PackageWixMSI(ctx context.Context, w io.Writer, po *PackageOptions, include // store this in the registry on install to give a comparable field // for intune to drive upgrade behavior from if po.VersionNum == 0 { - po.VersionNum = version.VersionNum() + po.VersionNum = version.VersionNumFromSemver(po.Version) } // We include a random nonce as part of the ProductCode