The GitLab provider for go-semantic-release.
| Name | Default Value | Description |
|---|---|---|
| gitlab_baseurl | CI_SERVER_URL | The base URL of the GitLab instance, including protocol and port. |
| gitlab_branch | CI_COMMIT_BRANCH | The commit branch name. |
| gitlab_projectid | CI_PROJECT_ID | The ID of the current project. |
| token | GITLAB_TOKEN -> CI_JOB_TOKEN | A token to authenticate with certain API endpoints. |
| git_path | CI_PROJECT_DIR | The full path the repository is cloned to, and where the job runs from. |
| strip_v_tag_prefix | false | Boolean to remove the v prefix from the tag. |
| log_order | dfs | The log order traversal algorithm. |
Requirements:
CI_JOB_TOKENmust be used. GitLab CI/CD job tokenGIT_STRATEGYmust be set tocloneorfetch. Git strategy doc
log_order=dfs (Default) - Ordering by depth-first search in pre-order
log_order=dfs_post - Ordering by depth-first search in post-order (useful to traverse history in chronological order)
log_order=bfs - Ordering by breadth-first search
log_order=ctime - Ordering by committer time (more compatible with git log)
Copyright © 2020 Christoph Witzko