We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ad0d05 commit 048b4c8Copy full SHA for 048b4c8
.github/workflows/pypi_publish.yml
@@ -80,8 +80,8 @@ jobs:
80
INPUT_VERSION="${INPUT_VERSION#v}"
81
# Fail if detected version is non-empty and different from the input version
82
if [ -n "${DETECTED_VERSION:-}" ] && [ -n "${INPUT_VERSION:-}" ] && [ "${DETECTED_VERSION}" != "${INPUT_VERSION}" ]; then
83
- echo "Error: Version input '${INPUT_VERSION}' does not match detected version '${DETECTED_VERSION}'."
84
- exit 1
+ echo "Warning: Version input '${INPUT_VERSION}' does not match detected version '${DETECTED_VERSION}'."
+ echo "Using input version '${INPUT_VERSION}' instead."
85
fi
86
# Set the version to the input version if non-empty, otherwise the detected version
87
VERSION="${INPUT_VERSION:-$DETECTED_VERSION}"
0 commit comments