Commit 3b59f671 authored by FulcrandG's avatar FulcrandG
Browse files

Testing release job

parent 025d2bb9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ release:
        OUT=$(curl https://gitlab.com/api/v4/projects/go2scale%2Fhub/releases/${JOB}-${VERSION} | grep '{"message":"403 Forbidden"}')
        if [[ $? -eq 0 ]]; then
          echo "no release for the version ${VERSION}"
          echo ${CI_JOB_TOKEN}
          curl --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: ${CI_JOB_TOKEN}" \
            --data "{ \
                \"name\": \"${JOB}-${VERSION}\", \