Skip to content

go-semantic-release/provider-gitlab

Repository files navigation

🦊 provider-gitlab

CI Go Report Card PkgGoDev

The GitLab provider for go-semantic-release.

Configuration

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.

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