Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update get_git_repo_info to avoid KeyError exception (#53)
* fix: get_git_repo_info result dictionary missing entries on error fix: bump version Errors obtaining git information were triggering a KeyError exception and hence failing to generate release.json Traceback (most recent call last): File "/home/james/venv/bin/edm", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/james/venv/lib/python3.12/site-packages/edm_tool/__init__.py", line 17, in main edm.main(get_parser()) File "/home/james/venv/lib/python3.12/site-packages/edm_tool/edm.py", line 1667, in main args.action_handler(args) File "/home/james/venv/lib/python3.12/site-packages/edm_tool/edm.py", line 1301, in release_handler if everest_core_repo_info["rev"]: ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^ KeyError: 'rev' Signed-off-by: James Chapman <james.chapman@pionix.de> * Use $EVEREST_DEPENDENCY_MANAGER variable to trigger edm release This ensures that the same edm is invoked as in the rest of the code Fixes an issues where it would not be found in certain venv configurations * Bump version to 0.7.1 Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de> --------- Signed-off-by: James Chapman <james.chapman@pionix.de> Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de> Co-authored-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
- Loading branch information