Home

Awesome

:fox_face: provider-gitlab

CI Go Report Card PkgGoDev

The GitLab provider for go-semantic-release.

Configuration

NameDefault ValueDescription
gitlab_baseurlCI_SERVER_URLThe base URL of the GitLab instance, including protocol and port.
gitlab_branchCI_COMMIT_BRANCHThe commit branch name.
gitlab_projectidCI_PROJECT_IDThe ID of the current project.
tokenGITLAB_TOKEN -> CI_JOB_TOKENA token to authenticate with certain API endpoints.
git_pathCI_PROJECT_DIRThe full path the repository is cloned to, and where the job runs from.
strip_v_tag_prefixfalseBoolean to remove the v prefix from the tag.
log_orderdfsThe log order traversal algorithm.

Log Order Options

Requirements:

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)

Licence

The MIT License (MIT)

Copyright © 2020 Christoph Witzko