Skip to content
Snippets Groups Projects
Select Git revision
  • 712331d42158dc9611ea11755f486da8e5d4f8e6
  • master default protected
  • 3
  • 3.14
  • 3.14.2
  • 3.14.1
  • 3.14.0
  • 3.13
  • 3.13.1
  • 3.13.0
  • 3.12
  • 3.12.0
  • 3.11
  • 3.11.5
  • 3.11.4
  • 3.11.3
  • 3.11.2
  • 3.11.1
  • 3.11.0
  • 3.10.3
  • 3.10.2
  • 3.10.1
22 results

gitlab-ci-semrel.yml

Blame
  • gitlab-ci-semrel.yml 33.11 KiB
    # =========================================================================================
    # Copyright (C) 2021 Orange & contributors
    #
    # This program is free software; you can redistribute it and/or modify it under the terms
    # of the GNU Lesser General Public License as published by the Free Software Foundation;
    # either version 3 of the License, or (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
    # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    # See the GNU Lesser General Public License for more details.
    #
    # You should have received a copy of the GNU Lesser General Public License along with this
    # program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
    # Floor, Boston, MA  02110-1301, USA.
    # =========================================================================================
    # default workflow rules: Merge Request pipelines
    spec:
      inputs:
        image:
          description: The Docker image used to run semantic-release
          default: registry.hub.docker.com/library/node:lts-slim
        version:
          description: The [semantic-release](https://www.npmjs.com/package/semantic-release) version to use
          default: latest
        branches-ref:
          description: 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))
          default: /^(master|main)$/
        exec-version:
          description: The [@semantic-release/exec](https://www.npmjs.com/package/@semantic-release/exec) version to use
          default: latest
        config-dir:
          description: directory containing your [semantic-release configuration](https://semantic-release.gitbook.io/semantic-release/usage/configuration#configuration-file)
          default: .
        tag-format:
          description: '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.'
          default: $${version}
        required-plugins-file:
          description: Full path to `semrel-required-plugins.txt` file _(relative to `$CI_PROJECT_DIR`)_
          default: semrel-required-plugins.txt
        release-disabled:
          description: Disable semantic-release
          type: boolean
          default: false
        changelog-enabled:
          description: Add the [@semantic-release/changelog](https://github.com/semantic-release/changelog) plugin which will commit a changelog file in the repository.
          type: boolean
          default: false
        changelog-file:
          description: '[changelogFile @semantic-release/changelog option](https://github.com/semantic-release/changelog#options).'
          default: CHANGELOG.md
        changelog-title:
          description: '[changelogTitle @semantic-release/changelog option](https://github.com/semantic-release/changelog#options). You might want to use markdown format (for example `# MyApp Changelog`).'
          default: ''
        dry-run:
          description: 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.
          type: boolean
          default: false
        extra-args:
          description: "[Extra options](https://semantic-release.gitbook.io/semantic-release/usage/configuration#options) to pass to semantic-release."
          default: ''
        auto-release-enabled:
          description: When set the job start automatically. When not set (default), the job is manual.
          type: boolean
          default: false
        hooks-dir:
          description: Hook scripts folder.
          default: .
        commit-message:
          description: '[message @semantic-release/git option](https://github.com/semantic-release/git#message)'
          default: ''