Skip to content
Snippets Groups Projects
Commit 40b8765b authored by Emanuele Aina's avatar Emanuele Aina
Browse files

ci-buildpackage: Avoid git-restore as it is too new


Use of `git restore` has been introduced in commit e954d2be
"ci-buildpackage: use wrap-and-sort as a workaround for odd packages".

It works on the Bullseye-based v2022dev2, but on older Buster-based
release `git restore` is not available.

Replace it with the old-style `git checkout`.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 23ea52db
No related branches found
No related tags found
1 merge request!204v2021 ← v2022dev2: ci-buildpackage: Avoid git-restore as it is too new
Pipeline #241261 passed
......@@ -20,7 +20,7 @@ apt-get -qy -o APT::Get::Build-Dep-Automatic=yes \
build-dep "$(pwd)"
# Revert changes made by `wrap-and-sort`
git restore debian
git checkout debian/
dpkg-checkbuilddeps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment