Skip to content

Commit

Permalink
fix upload-to-anaconda script
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 28, 2024
1 parent ea15675 commit 2392376
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ci/upload-to-anaconda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# publish to the 'experimental' label on the 'legate' channel, for all cases except
# releases (builds triggered by pushing a tag matching this regex exactly, e.g. 'v24.09.00')
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]];
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
declare -r conda_label="main"
else
declare -r conda_label="experimental"
Expand All @@ -20,7 +20,6 @@ PKGS_TO_UPLOAD=$(rapids-find-anaconda-uploads.py "${RAPIDS_LOCAL_CONDA_CHANNEL}"
if [ -z "${PKGS_TO_UPLOAD}" ]; then
rapids-echo-stderr "Couldn't find any packages to upload in: ${RAPIDS_LOCAL_CONDA_CHANNEL}"
ls -l "${RAPIDS_LOCAL_CONDA_CHANNEL}/"*
continue
fi

rapids-echo-stderr "Uploading packages to Anaconda.org (channel='legate', label='${conda_label}'): ${PKGS_TO_UPLOAD}"
Expand Down

0 comments on commit 2392376

Please sign in to comment.