Cannot create a release using Docker version of release-cli

* Cannot unmarshal array into Go value of type gitlab.CreateReleaseResponse*

I’ve got the same issue using release-cli image

  • Summary

    • GitLab server version: 14.6.1
    • release-cli version: 0.10.0 / latest / edge
  • Steps to reproduce

release:
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  stage: release
  before_script: []
  when: manual     
  except:
    - tags                                   
  script:
    - release-cli --insecure-https=true create --name "v0.0.29" --description "halo from gitlab-ci" --tag-name "v0.0.29" --ref $CI_COMMIT_SHA

Error:

time="2022-01-12T02:32:29Z" level=info msg="Creating Release..." cli=release-cli command=create name=v0.0.29 project-id=3 ref=b06b8d3cbbf53d0355017076773c327ce98f83d6 server-url="http://mygitlab-url.com" tag-name=v0.0.29 version=0.10.0
time="2022-01-12T02:32:29Z" level=fatal msg="run app" cli=release-cli error="failed to create release: failed to decode response: json: cannot unmarshal array into Go value of type gitlab.CreateReleaseResponse" version=0.10.0

There is a solution for this issue? :blush: