Loading .gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ include: inputs: image: "registry.hub.docker.com/library/python:3.12" package-enabled: true release-enabled: true sbom-disabled: true # semantic-release template - component: "gitlab.com/to-be-continuous/semantic-release/gitlab-ci-semrel@3.8" 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}' Loading
.gitlab-ci.yml +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ include: inputs: image: "registry.hub.docker.com/library/python:3.12" package-enabled: true release-enabled: true sbom-disabled: true # semantic-release template - component: "gitlab.com/to-be-continuous/semantic-release/gitlab-ci-semrel@3.8" 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}'