You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ "${{ github.event.ref }}" =~ ^refs/heads/integration$ ]]; then
85
85
# If we're releasing from integration it must be a pre-release
86
-
python -c $'from packaging.version import Version; v = Version('"'$NEW_VERSION'"$')\nif not v.is_prerelease:\n raise ValueError("integration should only be used for pre-releases")'
86
+
# This is currently not a requirement
87
+
# python -c $'from packaging.version import Version; v = Version('"'$NEW_VERSION'"$')\nif not v.is_prerelease:\n raise ValueError("integration should only be used for pre-releases")'
87
88
elif [[ "${{ github.event.ref }}" != "$(python -c $'from packaging.version import Version; v = Version('"'$NEW_VERSION'"$')\nprint(f"refs/heads/rel-v{v.major}r{v.minor}")')" ]]; then
88
89
# If we're not releasing from integration the version should match the rel-vXrY branch name
89
90
echo "$NEW_VERSION is an invalid version for ${{ github.event.ref }}"
0 commit comments