From 3da654408183e34eed4be7981f1070a3f0c19824 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 17 Jan 2025 17:13:44 +0100 Subject: [PATCH] CI gdal-master conda: fix upload of packages Cf comment in last successfull build: ``` 2025-01-04T01:13:22.4654582Z /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/conda_build/cli/main_build.py:520: FutureWarning: The default `pkg_format` of '.tar.bz2' is deprecated and will be removed in 25.1. 2025-01-04T01:13:22.4655579Z 2025-01-04T01:13:22.4655938Z The new default `pkg_format` value will be '.conda'. If you want to keep using `.tar.bz2`, consider: 2025-01-04T01:13:22.4656846Z - Setting `conda_build.pkg_format: 'tar.bz2' in your condarc file. 2025-01-04T01:13:22.4657562Z - Using `--pkg-format=tar.bz2` in the CLI. 2025-01-04T01:13:22.4657835Z ``` Fixes #11676 --- ci/travis/conda/upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/travis/conda/upload.sh b/ci/travis/conda/upload.sh index a02dd00c646e..ccebfd8c5527 100755 --- a/ci/travis/conda/upload.sh +++ b/ci/travis/conda/upload.sh @@ -20,5 +20,5 @@ fi echo "Anaconda token is available, attempting to upload" conda install -c conda-forge python=3.12 anaconda-client -y -find . -name "*gdal*.bz2" -exec anaconda -t "$ANACONDA_TOKEN" upload --force --no-progress --user gdal-master {} \; +find . -name "*gdal*.conda" -exec anaconda -t "$ANACONDA_TOKEN" upload --force --no-progress --user gdal-master {} \;