Skip to content

Extend .gitlab-ci.yml to support binary release assets

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

Extend the release: keyword to support file and tranform into release-cli commands.

Intended users

User experience goal

The user should be able to create releases and attach files to them in a single .gitlab-ci.yml release job.

Proposal

Extend the release: keyword to support file.

Example release yaml:

release:
  assets:
    links:
      - name: Mock binary
        url: <generic registry>/<namespace-project>/<tag>/bin/mock-bin.dmg
        file: bin/mock-bin.dmg
        filepath: pretty_link_name

Example release-cli commands:

release-cli create --tag-name v1.2.3 --assets-link='{"name": "Mock binary", "url":"<generic registry>/<namespace-project>/<tag>/bin/mock-bin.dmg", "file": "bin/mock-bin.dmg", "type": "other", "filepath": "/pretty_link_name" }'

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Tech evaluations

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖