Skip to content
Snippets Groups Projects
Commit 869b749a authored by q3k's avatar q3k
Browse files

ci: yet another attempt at circumventing shallow clones

parent 42bf765d
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ if [ ! -z "${CI}" ]; then
# Otherwise, let normal version machinery run, but fetch all changes
# and check out the correct branch. Otherwise we'll get weird version
# strings.
git fetch origin "$CI_COMMIT_REF_NAME"
git fetch --unshallow origin "$CI_COMMIT_REF_NAME"
git checkout "$CI_COMMIT_REF_NAME"
version="$(python3 components/st3m/host-tools/version.py)"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment