[graphics/krita/krita/6.0] /: Implement transitional versioning for MSI on Windows
Dmitry Kazakov
null at kde.org
Wed Jun 3 08:57:59 BST 2026
Git commit a4c74bd856443acf88510a4efee0e21c1388da12 by Dmitry Kazakov.
Committed on 03/06/2026 at 07:54.
Pushed by dkazakov into branch 'krita/6.0'.
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/a4c74bd856443acf88510a4efee0e21c1388da12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 530f85bf59f..300dab1b8aa 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 0)
+
+# 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