
smartdatalab/public/ci-cd-components/semantic-release
Semantic Release
3.12.0
Forked from https://gitlab.com/to-be-continuous/semantic-release/ at 20240510.
Find usage examples at: https://git.code.tecnalia.com/smartdatalab/libraries/ci-cd-samples
gitlab-ci-semrel
include:
- component: $CI_SERVER_FQDN/smartdatalab/public/ci-cd-components/semantic-release/gitlab-ci-semrel@3.12.0
Name | Mandatory | Type | Description | Default |
---|---|---|---|---|
image | false | string | The Docker image used to run semantic-release | registry.hub.docker.com/library/node:lts-slim |
dry-run | false | boolean | For generated `.releaserc` file only. Activate the [dryRun semantic-release option](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#dryrun) if present. | |
info-on | false | string | Define on which branch(es) the job shall be run | |
version | false | string | The [semantic-release](https://www.npmjs.com/package/semantic-release) version to use | latest |
hooks-dir | false | string | Hook scripts folder. | . |
config-dir | false | string | directory containing your [semantic-release configuration](https://semantic-release.gitbook.io/semantic-release/usage/configuration#configuration-file) | . |
tag-format | false | string | For generated `.releaserc` file only. [tagFormat semantic-release option](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#tagformat)e. :warning: don't forget to double the `$` character so it is not interpreted by GitLab. | $${version} |
commit-spec | false | string | Commit specification `preset` (possible values: `angular`, `codemirror`, `ember`, `eslint`, `express`, `jquery`, `jshint`, `conventionalcommits`). The default is `angular`. | angular |
branches-ref | false | string | Regular expression pattern matching branches from which releases should happen (should match your [semantic-release configuration](https://semantic-release.gitbook.io/semantic-release/usage/configuration#branches)) | /^(master|main)$/ |
exec-version | false | string | The [@semantic-release/exec](https://www.npmjs.com/package/@semantic-release/exec) version to use | latest |
changelog-file | false | string | [changelogFile @semantic-release/changelog option](https://github.com/semantic-release/changelog#options). | CHANGELOG.md |
commit-message | false | string | [message @semantic-release/git option](https://github.com/semantic-release/git#message) | |
changelog-title | false | string | [changelogTitle @semantic-release/changelog option](https://github.com/semantic-release/changelog#options). You might want to use markdown format (for example `# MyApp Changelog`). | |
release-disabled | false | boolean | Disable semantic-release | |
changelog-enabled | false | boolean | Add the [@semantic-release/changelog](https://github.com/semantic-release/changelog) plugin which will commit a changelog file in the repository. | |
auto-release-enabled | false | boolean | When set the job start automatically. When not set (default), the job is manual. | |
required-plugins-file | false | string | Full path to `semrel-required-plugins.txt` file _(relative to `$CI_PROJECT_DIR`)_ | semrel-required-plugins.txt |
semantic-release-job-tags | false | array | Tags to be used for selecting runners for the job | [] |
gitlab-ci-semrel-vault
include:
- component: $CI_SERVER_FQDN/smartdatalab/public/ci-cd-components/semantic-release/gitlab-ci-semrel-vault@3.12.0