Skip to content

Commit

Permalink
Use the official release drafter url
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBtz authored Apr 23, 2021
1 parent 41425af commit 721b585
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/validateReleaseDrafterConfiguration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 721b585

Please sign in to comment.