Skip to content

Commit d0289ea

Browse files
authored
Update deployment.yml to modify integration checks
1 parent 40fecfb commit d0289ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deployment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ jobs:
8383
python -c $'from packaging.version import Version; v = Version('"'$NEW_VERSION'"$')\nif v.is_devrelease:\n raise ValueError(v)'
8484
if [[ "${{ github.event.ref }}" =~ ^refs/heads/integration$ ]]; then
8585
# 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")'
8788
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
8889
# If we're not releasing from integration the version should match the rel-vXrY branch name
8990
echo "$NEW_VERSION is an invalid version for ${{ github.event.ref }}"

0 commit comments

Comments
 (0)