S
S
SokLor2021-10-26 15:09:04
GitLab
SokLor, 2021-10-26 15:09:04

How to add only one directory from the repository to the release?

For example, the repository structure:

- App
 - some-folder
 - text.txt


And a simple job for .gitlab-ci.yml:

release:
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  stage: release
  only:
    - main
  script:
    - release-cli create --tag-name 1.0.0


As a result, all the contents of the repository are added to the release.

Is it possible to add, for example, only text.txt?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question