EVerest / everest-dev-environment

Useful tools for developing EVerest
Apache License 2.0
12 stars 15 forks source link

Check arguments in `edm release` handler #44

Open andistorm opened 5 months ago

andistorm commented 5 months ago

Description

When calling edm release --everest-core-dir with-wrong-arg in this line the function get_git_repo_info returns a dictionary without the fields rev, branch and tag which are required for the following lines.

Code Reference

See: https://github.com/EVerest/everest-dev-environment/blob/main/dependency_manager/src/edm_tool/edm.py#L1299-L1306

Expected behaviour

When using the edm release command with invalid arguments it would be nice to get an explaining warning/error

Additional