Philipp Hörist pushed to branch master at gajim / gajim
Commits:
79aceefc by Philipp Hörist at 2026-07-15T22:51:56+02:00
ci: Windows: Fix production version for packages
The version of the application needs to fulfill specific requirements on
Windows.
Using the appveyor build number as last number, ensures that every build has a
higher number and can be published in the MS store.
- - - - -
2 changed files:
- .ci/appveyor.yml
- win/_base.sh
Changes:
=====================================
.ci/appveyor.yml
=====================================
@@ -1,4 +1,4 @@
-version: 1.1.{build}
+version: 2.5.{build}
image: Visual Studio 2019
=====================================
win/_base.sh
=====================================
@@ -158,6 +158,12 @@ function install_gajim {
QL_VERSION=$(MSYSTEM= build_python -c \
"import gajim; import sys;
sys.stdout.write(gajim.__version__.split('+')[0])")
+ if [ -n "$APPVEYOR_BUILD_VERSION" ] ; then
+ QL_VERSION=${APPVEYOR_BUILD_VERSION}
+ fi
+
+ echo "Determined ProductVersion: ${QL_VERSION}"
+
QL_VERSION_DESC=$(MSYSTEM= build_python -c \
"import gajim; import sys; sys.stdout.write(gajim.__version__)")
@@ -345,8 +351,6 @@ function build_msix_installer {
(
cd ${BUILD_ROOT}
- MSIX_VERSION=$(python -c "import sys; v = '${QL_VERSION}'; res = f'{v
}.0' if v.count('.') == 2 else v; sys.stdout.write(res)")
-
rm -rf assets bundle filemapping.txt assets.resfiles appxmanifest.xml
resources.pri
echo "[Files]" > filemapping.txt
find ${MSYSTEM_PREFIX:1} -type f | while read line; do
@@ -369,7 +373,7 @@ function build_msix_installer {
echo
"\"assets/gajim44x44.targetsize-${size}_altform-unplated.png\"
\"assets/gajim44x44.targetsize-${size}_altform-unplated.png\"" >>
filemapping.txt
echo
"\"assets/gajim44x44.targetsize-${size}_altform-lightunplated.png\"
\"assets/gajim44x44.targetsize-${size}_altform-lightunplated.png\"" >>
filemapping.txt
done
- sed "s/QL_VERSION/${MSIX_VERSION}/" ${MISC}/appxmanifest.xml >
AppxManifest.xml
+ sed "s/QL_VERSION/${QL_VERSION}.0/" ${MISC}/appxmanifest.xml >
AppxManifest.xml
makepri new -pr . -cf ${MISC}/priconfig.xml -mn AppxManifest.xml -of
resources.pri -o
echo "\"resources.pri\" \"resources.pri\"" >> filemapping.txt
echo "\"AppxManifest.xml\" \"AppxManifest.xml\"" >> filemapping.txt
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/79aceefca8b3df3d6f00c6c6a7a11f426096bcd9
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/79aceefca8b3df3d6f00c6c6a7a11f426096bcd9
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]