From 4e90dae37ea4bd2d895465483d885c8e133c4cc3 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 23 Oct 2024 15:32:00 +0200
Subject: [PATCH] Revert "CI : remove GET params at the end of assets URLs
 (clients/rust/gcli-v2s!37)"

This reverts commit 9460516b6700a431b724df508f5ef00ff3fb8e15.

Does not solve the issue, the links do not work anymore:
They need `?job=$job_name` at the end in which the artifacts have been created
https://git.duniter.org/clients/rust/gcli-v2s/-/releases/0.3.1
---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bef336e..032be86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,11 +76,11 @@ release:
     assets:
       links:
         - name: "gcli v$CI_COMMIT_TAG for Linux (binary)"
-          url: "$CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_TAG/raw/target/release/gcli"
+          url: "$CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_TAG/raw/target/release/gcli?job=build_linux"
         - name: "gcli v$CI_COMMIT_TAG Debian Package"
-          url: "$CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_TAG/raw/$(cat debian_package.txt)"
+          url: "$CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_TAG/raw/$(cat debian_package.txt)?job=build_linux"
         - name: "gcli v$CI_COMMIT_TAG for macOS"
-          url: "$CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_TAG/raw/target/macos/gcli.zip"
+          url: "$CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_TAG/raw/target/macos/gcli.zip?job=build_macos"
   only:
     - tags
   dependencies:
-- 
GitLab