ci: fix check-documentation-diff curl command

Need to pass -L to follow the moved location.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2262>
This commit is contained in:
Guillaume Desmottes 2025-05-27 08:05:45 +02:00 committed by GStreamer Marge Bot
parent 448edec0ee
commit 3c830e7ea8

View file

@ -13,7 +13,7 @@ if __name__ == "__main__":
with open(diffname, 'w') as diff:
subprocess.check_call(['git', 'diff'], stdout=diff)
print('\033[91mYou have a diff in the documentation cache. Please update with:\033[0m')
print(' $ curl %s/%s | git apply -' % (os.environ['CI_ARTIFACTS_URL'], diffname.replace('../', '')))
print(' $ curl -L %s/%s | git apply -' % (os.environ['CI_ARTIFACTS_URL'], diffname.replace('../', '')))
if res != 0:
print('(note that it might take a few minutes for artefacts to be available on the server)\n')