From e5d2fb070c5b7990d36264e6609f7f52d3429826 Mon Sep 17 00:00:00 2001 From: Lester Hedges Date: Tue, 1 Feb 2022 13:53:32 +0000 Subject: [PATCH] Explicitly list packages to avoid trying to upload current_repo.json.bz2 --- actions/upload_package.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/actions/upload_package.sh b/actions/upload_package.sh index bb058632e..5e90ab4e3 100755 --- a/actions/upload_package.sh +++ b/actions/upload_package.sh @@ -29,8 +29,9 @@ fi # Upload the packages to the michellab channel on Anaconda Cloud. -# Label release packages with main and dev so that dev is at least -# as new as main. +# Label release packages with main and dev so that dev is at least as new as +# main. Only need to uncomment the libcpuid and fkcombu package uploads when +# there new versions are released. if [ "$LABEL" = "main" ]; then anaconda \ --token "$ANACONDA_TOKEN" upload \ @@ -38,14 +39,18 @@ if [ "$LABEL" = "main" ]; then --label main \ --label dev \ --force \ - "$CONDA_BLD"/"$OS"/*.bz2 + "$CONDA_BLD"/"$OS"/sire-* \ + "$CONDA_BLD"/"$OS"/libcpuid-* \ + "$CONDA_BLD"/"$OS"/fkcombu-* else anaconda \ --token "$ANACONDA_TOKEN" upload \ --user michellab \ --label dev \ --force \ - "$CONDA_BLD"/"$OS"/*.bz2 + "$CONDA_BLD"/"$OS"/sire-* \ + "$CONDA_BLD"/"$OS"/libcpuid-* \ + "$CONDA_BLD"/"$OS"/fkcombu-* fi echo "Package uploaded!"