Wrap pre_get_sources_script in subshell to preserve working directory
The cd command was leaving GitLab Runner in the project directory, which may have caused "Unable to read current working directory" errors when the subsequent git operations expected to be in a different directory. Also added a guard against empty submodule names.
Loading
Please sign in to comment