Commit b61bbd4a authored by FulcrandG's avatar FulcrandG
Browse files

Testing release job

parent a76a561f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -55,10 +55,8 @@ 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}"
    -       release-cli create --name job-${JOB}-${VERSION}
    -       release-cli create --tag-name ${JOB}-${VERSION}
                                --description $(cat jobs/${JOB}/versions/${VERSION}.md)
                                --tag-name job
                                --ref ${CI_COMMIT_SHA}
                                --assets-link "{\"name\":\"Hub url\",\"url\":\"https://jobs.go2scale.io/${VERSION}/${JOB}.yml\",\"link_type\":\"other\",\"filepath\":\"jobs/${JOB}/${JOB}.yml\"}"
    -     else
    -       echo "release ${VERSION} exists"