diff --git a/scripts/validateReleaseDrafterConfiguration.sh b/scripts/validateReleaseDrafterConfiguration.sh index 9d383e3..d14a3d6 100755 --- a/scripts/validateReleaseDrafterConfiguration.sh +++ b/scripts/validateReleaseDrafterConfiguration.sh @@ -11,9 +11,8 @@ pushd $TMPDIR || exit echo "Installing AJV" npm install -s -g "ajv-cli@${AJV_VERSION}" -# TODO the schema should come from json schema once https://github.com/release-drafter/release-drafter/pull/600 is fixed echo "Downloading the release drafter validation schema" -curl -Lso schema.json 'https://raw.githubusercontent.com/release-drafter/release-drafter/cec90728b088fe0fbc42bc15dd3d21bc59db34c6/schema.json' +curl -Lso schema.json 'https://raw.githubusercontent.com/release-drafter/release-drafter/master/schema.json' echo "Validating release drafter configuration" ajv validate -s schema.json -d "${RELEASE_DRAFTER_CONFIG}"