[graphics/krita/release/6.0.2] /: Implement transitional versioning for MSI on Windows

Dmitry Kazakov null at kde.org
Fri May 29 15:10:22 BST 2026


Git commit f310953b1a6ba81298ab89f34cb33eef505e8992 by Dmitry Kazakov.
Committed on 29/05/2026 at 14:09.
Pushed by dkazakov into branch 'release/6.0.2'.

Implement transitional versioning for MSI on Windows

In MSI packages we cannot use the fourth digit for
release numbering, since this digit is used by Microsoft
Store internally. Hence we cannot release hotfix releases
(like 6.0.1.1, 6.0.1.2) on Windows. Therefore we use the
same approach as on Android, we just number all the official
releases in the same X.Y.* branch sequentially.

Example:

Krita 5.3.2 will have MSI version 5.3.2.0
Krita 5.3.2.1 will have MSI version 5.3.3.0
Krita 5.3.2.2 will have MSI version 5.3.4.0
Krita 5.3.3 will have MSI version 5.3.5.0

CC:kimageshop at kde.org

M  +11   -0    CMakeLists.txt
M  +1    -1    packaging/windows/msix/manifest.xml.in

https://invent.kde.org/graphics/krita/-/commit/f310953b1a6ba81298ab89f34cb33eef505e8992

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f331acd6e2..ab798d11f27 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -151,6 +151,17 @@ set(KRITA_VERSION_RELEASE 2)
 # - Beta: Starts from 50, increment 1 per release
 # - Stable: Set to 100, bump to 101 if emergency update is needed
 set(KRITA_VERSION_REVISION 1)
+
+# In MSI packages we cannot use the fourth digit for release numbering,
+# since this digit is used by Microsoft Store internally. Hence we cannot
+# release hotfix releases (like 6.0.1.1, 6.0.1.2) on Windows. Therefore we
+# use the same approach as on Android, we just number all the official
+# releases in the same X.Y.* branch sequentially.
+#
+# Krita 5.3.2.1 was released with version '3', increment on releasing
+#
+set(KRITA_MSI_VERSION_RELEASE_TRANSITIONAL 3)
+
 # Uncomment the following if this is currently in the "stable" branch.
 # Do not uncomment for master branch.
 #set(KRITA_STABLE_BRANCH 1)
diff --git a/packaging/windows/msix/manifest.xml.in b/packaging/windows/msix/manifest.xml.in
index b796c6be518..c7dacbe7a35 100644
--- a/packaging/windows/msix/manifest.xml.in
+++ b/packaging/windows/msix/manifest.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
[suppressed due to size limit]
   <!-- NOTE: The Publisher attr needs to match the code signing certificate. -->
-  <Identity Name="49800KritaProject.Krita" Publisher="CN=03E730BB-6849-4762-9BDB-10CD7FFDB2C1" Version="@KRITA_STABLE_VERSION_MAJOR at .@KRITA_STABLE_VERSION_MINOR at .@KRITA_VERSION_RELEASE at .0" ProcessorArchitecture="x64" />
+  <Identity Name="49800KritaProject.Krita" Publisher="CN=03E730BB-6849-4762-9BDB-10CD7FFDB2C1" Version="@KRITA_STABLE_VERSION_MAJOR at .@KRITA_STABLE_VERSION_MINOR at .@KRITA_MSI_VERSION_RELEASE_TRANSITIONAL at .0" ProcessorArchitecture="x64" />
   <Properties>
     <DisplayName>Krita at MSIX_DISPLAY_NAME_SUFFIX@</DisplayName>
     <PublisherDisplayName>Krita</PublisherDisplayName>


More information about the kimageshop mailing list