Authored by Dan Thomson

Adding a Release to your Gitlab CI/CD process

This snippet gives a fairly generic script that you can add to your .gitlab-ci.yml file in order to enable a release for every tagged commit. Releases can help you provide archived versions of your source tree, or of your build artifacts without requiring the end user use Git to check out your code.

This particular example will generate a very simple changelog and bundle up your current source tree. It is possible to create releases of compiled artifacts as well (which may be documented in a separate snippet).

.gitlab-ci.yml 3.02 KB
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment