Skip to content

Commit 0c89661

Browse files
EliEli
authored andcommitted
Fix typos
1 parent 67cc28a commit 0c89661

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/python-package-conda.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,14 @@ jobs:
3838
RAW_VERSION="$(python -m setuptools_scm | tr -d '\r\n')"
3939
PKG_VERSION="$(echo "$RAW_VERSION" | sed -E 's/\+g([0-9a-f]+)/.g\1/; s/-g([0-9a-f]+)/.g\1/')"
4040
41-
42-
4341
if [ -z "$PKG_VERSION" ] || [ "$PKG_VERSION" = "0.0.0" ] || [ "$PKG_VERSION" = "None" ]; then
44-
echo "ERROR: Bad PKG_VERSION='$PKG_VERSION'"
42+
echo "ERROR: Bad PKG_VERSION='$PKG_VERSION' (RAW_VERSION='$RAW_VERSION')"
4543
exit 1
4644
fi
4745
4846
printf "PKG_VERSION: %s\nSCM_VERSION: %s\n" "$PKG_VERSION" "$RAW_VERSION" > conda.recipe/variant.yaml
4947
50-
echo "PKG_VERSION: $PKG_VERSION" > conda.recipe/variant.yaml
48+
echo "=== variant.yaml ==="
5149
cat conda.recipe/variant.yaml
5250
5351
conda config --set anaconda_upload yes

0 commit comments

Comments
 (0)