- echo "This is the release file: $release_file"
- echo "--> Verifying $release_file Schema."
- echo "DUMMY CODE:"
- #Make sure the schema check catches a missing trailing / on log_dir
- #lftools schema is written, but not the schema file (yet)
- echo "lftools schema verify [OPTIONS] $release_file $SCHEMAFILE"
+ echo "--> Verifying $release_file schema."
+ lftools schema verify $release_file release-schema.yaml
+
+ #OPTIONAL
+ if grep -q "\.maven_central_url" "$release_file"; then
+ MAVEN_CENTRAL_URL="$(niet ".maven_central_url" "$release_file")"
+ fi