Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix git version detection in docker_package_c.sh (deepmodeling#3658
) Fix the following error in docker_package_c.sh ``` -- Found Git: /usr/bin/git (found version "2.25.1") fatal: detected dubious ownership in repository at '/root/deepmd-kit' To add an exception for this directory, call: git config --global --add safe.directory /root/deepmd-kit ``` In addition, fetching git tags in actions/checkout. --------- Signed-off-by: Jinzhe Zeng <[email protected]> (cherry picked from commit 6eadc29)
- Loading branch information