Skip to content

Commit

Permalink
Let netkan validation print directly to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan authored Jul 3, 2019
2 parents 3159c57 + 866fa91 commit 81ad931
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions CKAN-meta/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -321,16 +321,7 @@ do
echo "Validating metadata: '$ckan'"
# Note: Additional NETKAN_OPTIONS may be set on jenkins jobs
OUTPUT=$(mono netkan.exe --validate-ckan "$ckan" $NETKAN_OPTIONS)
if (( $? != 0 ))
then
# Print error and quit
echo "$OUTPUT"
exit $EXIT_NETKAN_VALIDATION_FAILED
fi
echo ----------------------------------------------
cat "$ckan"
echo ----------------------------------------------
mono netkan.exe --validate-ckan "$ckan" $NETKAN_OPTIONS
# Extract identifier and KSP version.
CURRENT_IDENTIFIER=$($JQ_PATH --raw-output '.identifier' "$ckan")
Expand Down

0 comments on commit 81ad931

Please sign in to comment.