Commit 50c53ea2 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci(semrel): add semantic-release configuration

parent c259a8c6
Loading
Loading
Loading
Loading
Loading

.releaserc.yaml

0 → 100644
+27 −0
Original line number Diff line number Diff line
plugins:
  - '@semantic-release/commit-analyzer'
  - '@semantic-release/release-notes-generator'
  - '@semantic-release/gitlab'
  # generates the CHANGELOG.md
  - '@semantic-release/changelog'
  # emulates bumpversion (replaces version in pyproject.toml)
  - - semantic-release-replace-plugin
    - replacements:
        - files:
            - pyproject.toml
          from:
            - ^version *= *"\d+\.\d+\.\d+"
          to: 'version = "${nextRelease.version}"'
          countMatches: true
  # git commit/push modified files (CHANGELOG.md & pyproject.toml)
  - - '@semantic-release/git'
    - assets:
        - '*.md'
        - '*.toml'
      # the commit MUST trigger a pipeline on tag (to perform publish jobs)
      # can be skipped on prod branch
      message: 'chore(semantic-release): release ${nextRelease.version} - [ci skip on prod]'
branches:
  - main
  - master
tagFormat: '${version}'
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[project]
name = "gcp-auth-provider"
version = "0.1.0"
version = "1.1.0"
description = ""
authors = []
license = "LGPL"