Commit 1bd345bf authored by Thomas Boni's avatar Thomas Boni
Browse files

rename go2scale to r2devops in release job

parent 35571c46
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,12 +39,12 @@ release:
      JOB=$(basename ${JOB})
      for VERSION in jobs/${JOB}/versions/*; do
        VERSION=$(basename ${VERSION} .md)
        http --ignore-stdin POST https://gitlab.com/api/v4/projects/go2scale%2Fhub/releases \
        http --ignore-stdin POST https://gitlab.com/api/v4/projects/r2devops%2Fhub/releases \
          "JOB-TOKEN: ${CI_JOB_TOKEN}" \
          tag_name=${JOB}-${VERSION} \
          ref=${CI_COMMIT_SHA} \
          "description=$(cat jobs/${JOB}/versions/${VERSION}.md)" \
          'assets:={"links": [{"name": "Hub link", "url": "https://jobs.go2scale.io/'"${VERSION}/${JOB}"'.yml"}]}'
          'assets:={"links": [{"name": "Hub link", "url": "https://jobs.r2devops.io/'"${VERSION}/${JOB}"'.yml"}]}'
      done
    done
  rules: