Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,15 @@ jobs:
runs-on: ubuntu-latest
name: "Bump version and create changelog with commitizen"
steps:

- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
{% raw %}token: ${{ github.token }}{% endraw %}

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "{{ cookiecutter.max_python_version[0] }}"

- name: Install uv
uses: astral-sh/setup-uv@v5
token: '${{ github.token }}'

- name: Install dependencies
run: uv sync --extra=dev

- id: cz
name: Create bump and changelog
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
{% raw %}github_token: ${{ github.token }}{% endraw %}
changelog_increment_filename: body.md
{% raw %}increment: ${{ github.event.inputs.increment }}{% endraw %}

- name: Create Release
uses: softprops/action-gh-release@v2
with:
body_path: body.md
{% raw %}tag_name: ${{ env.REVISION }}{% endraw %}
env:
{% raw %}GITHUB_TOKEN: ${{ github.token }}{% endraw %}
github_token: '${{ github.token }}'
branch: master