stages: - release release_job: stage: release image: registry.gitlab.com/gitlab-org/release-cli:latest rules: - if: $CI_COMMIT_TAG script: - tar acf myx-cmake-${CI_COMMIT_TAG}.tar.xz lib backports *.cmake release: tag_name: '$CI_COMMIT_TAG' description: '$CI_COMMIT_TAG'