Skip to content

Commit 15c30fb

Browse files
FIX: Use correct shell variable in upload
* Use the correct shell variable "LABEL_ARGS" to pass the lable args to the `anaconda upload` command. - Amends PR 47 * Note that it is important that ${LABEL_ARGS} is NOT quoted during shell parameter expansion, else it will be treated as a file path to anaconda upload and not an argument. - e.g. This will trigger `File "--label main " does not exist` errors.
1 parent f689fba commit 15c30fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ echo "Uploading wheels to anaconda.org..."
7676
anaconda --token "${ANACONDA_TOKEN}" upload \
7777
--force \
7878
--user "${ANACONDA_ORG}" \
79-
$ANACONDA_LABELS \
79+
${LABEL_ARGS} \
8080
"${INPUT_ARTIFACTS_PATH}"/*.whl
8181
echo "Index: https://pypi.anaconda.org/${ANACONDA_ORG}/simple"

0 commit comments

Comments
 (0)