mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Badges: fetch all branches from origin before checking out the staging branch
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -10,6 +10,7 @@ if [ ! -d "$DIR/.git" ]; then
|
||||
fi
|
||||
|
||||
git config --global --add safe.directory $DIR
|
||||
git fetch origin
|
||||
{% if env == 'staging' %}
|
||||
git -C $DIR checkout staging
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user