Philipp Hörist pushed to branch windows-fix at gajim / gajim


Commits:
0a3cdf1b by Philipp Hörist at 2026-07-15T22:13:17+02:00
test new builds

- - - - -


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/0a3cdf1b2f526fdc163491d6a4622e697dded448

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/0a3cdf1b2f526fdc163491d6a4622e697dded448
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]

Reply via email to