We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67cc28a commit 0c89661Copy full SHA for 0c89661
1 file changed
.github/workflows/python-package-conda.yml
@@ -38,16 +38,14 @@ jobs:
38
RAW_VERSION="$(python -m setuptools_scm | tr -d '\r\n')"
39
PKG_VERSION="$(echo "$RAW_VERSION" | sed -E 's/\+g([0-9a-f]+)/.g\1/; s/-g([0-9a-f]+)/.g\1/')"
40
41
-
42
43
if [ -z "$PKG_VERSION" ] || [ "$PKG_VERSION" = "0.0.0" ] || [ "$PKG_VERSION" = "None" ]; then
44
- echo "ERROR: Bad PKG_VERSION='$PKG_VERSION'"
+ echo "ERROR: Bad PKG_VERSION='$PKG_VERSION' (RAW_VERSION='$RAW_VERSION')"
45
exit 1
46
fi
47
48
printf "PKG_VERSION: %s\nSCM_VERSION: %s\n" "$PKG_VERSION" "$RAW_VERSION" > conda.recipe/variant.yaml
49
50
- echo "PKG_VERSION: $PKG_VERSION" > conda.recipe/variant.yaml
+ echo "=== variant.yaml ==="
51
cat conda.recipe/variant.yaml
52
53
conda config --set anaconda_upload yes
0 commit comments