Skip to content

Commit

Permalink
add releaserc.yml
Browse files Browse the repository at this point in the history
Co-Authored-By: Federico Aguzzi <[email protected]>
  • Loading branch information
VinciGit00 and f-aguzzi committed Oct 7, 2024
1 parent 7d86bc7 commit e824846
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/update-requirements.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
plugins:
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
- - "@semantic-release/release-notes-generator"
- writerOpts:
commitsSort:
- subject
- scope
preset: conventionalcommits
presetConfig:
types:
- type: feat
section: Features
- type: fix
section: Bug Fixes
- type: chore
section: chore
- type: docs
section: Docs
- type: style
hidden: true
- type: refactor
section: Refactor
- type: perf
section: Perf
- type: test
section: Test
- type: build
section: Build
- type: ci
section: CI
- "@semantic-release/changelog"
- "semantic-release-pypi"
- "@semantic-release/github"
- - "@semantic-release/git"
- assets:
- CHANGELOG.md
- pyproject.toml
message: |-
ci(release): ${nextRelease.version} [skip ci]
${nextRelease.notes}
branches:
#child branches coming from tagged version for bugfix (1.1.x) or new features (1.x)
#maintenance branch
- name: "+([0-9])?(.{+([0-9]),x}).x"
channel: "stable"
#release a production version when merging towards main
- name: "main"
channel: "stable"
#prerelease branch
- name: "pre/beta"
channel: "dev"
prerelease: "beta"
debug: true

0 comments on commit e824846

Please sign in to comment.