Updated BuildLibraries tool to make release builds only after passing `pod spec lint`