Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy up release_download_test.sh (#3522)
* Tidy up release_download_test.sh, add support to run in on any machine, color output, additional options for easy testing. * Address linter errors. * Further address linter errors. * Address review comments. * Simplify getting tag from remaining arguments. * Fix TODO. * Address review comments, group functionality into functions. * Fix linter errors. * Fix print_verbose function if verbose is disabled. * Fix path for validateSBOMcontent.sh script; fix shellcheck comment. * Move print_verbose back to release_download_test, it should not belong in a common script as it is too specific for the validation script. * Improve usage output. * Address linter warning. * Address linter warning. * Add flag to explicitly enable ansi output. * Make accessing $0 consistent. * Support passing in the TAG as variable rather than as parameter like before. * Improve usage. * Update tooling/release_download_test.sh Co-authored-by: Stewart X Addison <[email protected]> --------- Co-authored-by: Stewart X Addison <[email protected]>
- Loading branch information