1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-31 05:47:30 +03:00

fmf: Check out target branch in packit

This commit is contained in:
Daan De Meyer 2025-01-07 14:39:53 +01:00
parent 86a6d7cc5a
commit 3c9ffd2e4b

View File

@ -30,7 +30,7 @@ if [[ -n "${TMT_SOURCE_DIR:-}" ]]; then
pushd "$TMT_SOURCE_DIR/*/"
elif [[ -n "${PACKIT_TARGET_URL:-}" ]]; then
# Prepare systemd source tree
git clone "$PACKIT_TARGET_URL" systemd
git clone "$PACKIT_TARGET_URL" systemd --branch "$PACKIT_TARGET_BRANCH"
pushd systemd
# If we're running in a pull request job, merge the remote branch into the current main