Skip to content
Snippets Groups Projects
Commit 6ab73669 authored by Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf Committed by Emanuele Aina
Browse files

pull-updates: Fix pulling new upstream versions


Commit 5802517d "pull-updates: Push all local refs atomically" broke
pushing multiple refs when pulling updates (that ism when pulling a
new upstream version) due to excessive quoting.

    $ git push --follow-tags --atomic ${CI_AUTH_PROJECT_URL} "$BRANCHES"
    fatal: invalid refspec 'debian/buster
    debian/buster-security
    pristine-lfs
    upstream/buster'

Let `$BRANCH` get expanded to multiple arguments rather than passing all
of them as a single argument.

Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.com>
parent 5802517d
No related branches found
No related tags found
1 merge request!215pull-updates: Fix pulling new upstream versions
Pipeline #332984 passed
......@@ -250,8 +250,8 @@ pull-updates:
"upstream/*"
"pristine-lfs"
)
- echo "🔼 Pushing the updated local branches $BRANCHES"
- git push --follow-tags --atomic ${CI_AUTH_PROJECT_URL} "$BRANCHES"
- echo "🔼 Pushing the updated local branches" $BRANCHES
- git push --follow-tags --atomic ${CI_AUTH_PROJECT_URL} $BRANCHES
merge-updates:
stage: merge
......
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