Philipp Hörist pushed to branch master at gajim / gajim


Commits:
5314521e by Philipp Hörist at 2025-01-07T23:54:15+01:00
ci: Disable Windows releases

- - - - -


2 changed files:

- .gitlab-ci.yml
- gajim/common/application.py


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -124,26 +124,26 @@ build-debian-nightly:
     paths:
       - debian_build/*
 
-build-windows:
-  image: gajim-build
-  stage: build
-  dependencies: []
-  rules:
-    - if: '$CI_COMMIT_TAG'
-  script:
-    - >
-      release-helper build-windows-pkg \
-        --account=lovetox \
-        --repository=https://dev.gajim.org/gajim/gajim \
-        --branch=master \
-        --version=$CI_COMMIT_TAG \
-        --commit-sha=$CI_COMMIT_SHA \
-        --api-key=$APPVEYOR_API_KEY \
-        .ci/appveyor.yml
-  artifacts:
-    expire_in: 1 day
-    paths:
-      - windows_build/*.json
+# build-windows:
+#   image: gajim-build
+#   stage: build
+#   dependencies: []
+#   rules:
+#     - if: '$CI_COMMIT_TAG'
+#   script:
+#     - >
+#       release-helper build-windows-pkg \
+#         --account=lovetox \
+#         --repository=https://dev.gajim.org/gajim/gajim \
+#         --branch=master \
+#         --version=$CI_COMMIT_TAG \
+#         --commit-sha=$CI_COMMIT_SHA \
+#         --api-key=$APPVEYOR_API_KEY \
+#         .ci/appveyor.yml
+#   artifacts:
+#     expire_in: 1 day
+#     paths:
+#       - windows_build/*.json
 
 build-windows-nightly:
   image: gajim-build
@@ -232,23 +232,23 @@ deploy-debian-nightly:
         --directory=debian/gajim/"$(date +'%Y%m%d')" \
         debian_build
 
-deploy-windows:
-  image: gajim-deploy
-  stage: deploy
-  dependencies:
-    - build-windows
-  rules:
-    - if: '$CI_COMMIT_TAG'
-  script:
-    - release-helper download-appveyor-artifacts "$(find 
windows_build/*.json)" windows_build
-    - rm windows_build/*.json
-    - >
-      release-helper deploy-to-ftp \
-        --host=$FTP_HOST \
-        --user=$FTP_USER \
-        --password=$FTP_PASS \
-        --directory=downloads/"$(echo $CI_COMMIT_TAG | cut -c 1-3)" \
-        windows_build
+# deploy-windows:
+#   image: gajim-deploy
+#   stage: deploy
+#   dependencies:
+#     - build-windows
+#   rules:
+#     - if: '$CI_COMMIT_TAG'
+#   script:
+#     - release-helper download-appveyor-artifacts "$(find 
windows_build/*.json)" windows_build
+#     - rm windows_build/*.json
+#     - >
+#       release-helper deploy-to-ftp \
+#         --host=$FTP_HOST \
+#         --user=$FTP_USER \
+#         --password=$FTP_PASS \
+#         --directory=downloads/"$(echo $CI_COMMIT_TAG | cut -c 1-3)" \
+#         windows_build
 
 deploy-windows-nightly:
   image: gajim-deploy


=====================================
gajim/common/application.py
=====================================
@@ -314,6 +314,11 @@ def _check_for_updates(self) -> None:
 
     def check_for_gajim_updates(self) -> None:
         self._log.info('Checking for Gajim updates')
+
+        if sys.platform == 'win32':
+            # Disable update check for win32 until we do releases again
+            return
+
         request = create_http_request()
         request.send('GET', 'https://gajim.org/current-version.json',
                      callback=self._on_update_response)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/5314521ec8ff366b15342cf4ef96fa6fd39fd205

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