Skip to content

Commit e5d2fb0

Browse files
committed
Explicitly list packages to avoid trying to upload current_repo.json.bz2
1 parent d856a1e commit e5d2fb0

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

actions/upload_package.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,28 @@ fi
2929

3030
# Upload the packages to the michellab channel on Anaconda Cloud.
3131

32-
# Label release packages with main and dev so that dev is at least
33-
# as new as main.
32+
# Label release packages with main and dev so that dev is at least as new as
33+
# main. Only need to uncomment the libcpuid and fkcombu package uploads when
34+
# there new versions are released.
3435
if [ "$LABEL" = "main" ]; then
3536
anaconda \
3637
--token "$ANACONDA_TOKEN" upload \
3738
--user michellab \
3839
--label main \
3940
--label dev \
4041
--force \
41-
"$CONDA_BLD"/"$OS"/*.bz2
42+
"$CONDA_BLD"/"$OS"/sire-* \
43+
"$CONDA_BLD"/"$OS"/libcpuid-* \
44+
"$CONDA_BLD"/"$OS"/fkcombu-*
4245
else
4346
anaconda \
4447
--token "$ANACONDA_TOKEN" upload \
4548
--user michellab \
4649
--label dev \
4750
--force \
48-
"$CONDA_BLD"/"$OS"/*.bz2
51+
"$CONDA_BLD"/"$OS"/sire-* \
52+
"$CONDA_BLD"/"$OS"/libcpuid-* \
53+
"$CONDA_BLD"/"$OS"/fkcombu-*
4954
fi
5055

5156
echo "Package uploaded!"

0 commit comments

Comments
 (0)