Make a release from CI/CD with compiled file

Hello,

I was using this to make a release and attach a compiled file :

gitlab_release:
  image: eliaperantoni/gitlab-release
  stage: publish
  only:
    - tags
  script:
    - cp build/gaiac-wpml-updater.phar build/gaiac-wpml-updater-$CI_COMMIT_REF_NAME.phar
    - gitlab-release build/gaiac-wpml-updater-$CI_COMMIT_REF_NAME.phar

But it looks like the docker image eliaperantoni/gitlab-release doesn’t exist anymore.
Is there any alternative ?

Regards.

Hi there,

I would recommend you to switch over to the official GitLab Release CLI tool - Release CI/CD examples | GitLab until the newer glab CLI matures a bit.

I’m not sure what your current release wrapper is doing behind the scenes, but if you switch over to the GitLab Release tool, you will have to manually first upload the file to the package registry and then during release attach a link to it - see my example here.

1 Like