Skip to content

Commit e398469

Browse files
Update bump_version.yaml
1 parent 4a3b52f commit e398469

File tree

1 file changed

+5
-25
lines changed
  • repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/.github/workflows

1 file changed

+5
-25
lines changed

repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/.github/workflows/bump_version.yaml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,15 @@ jobs:
2727
runs-on: ubuntu-latest
2828
name: "Bump version and create changelog with commitizen"
2929
steps:
30+
3031
- name: Check out
3132
uses: actions/checkout@v4
3233
with:
3334
fetch-depth: 0
34-
{% raw %}token: ${{ github.token }}{% endraw %}
35-
36-
- name: Setup Python
37-
uses: actions/setup-python@v5
38-
with:
39-
python-version: "{{ cookiecutter.max_python_version[0] }}"
40-
41-
- name: Install uv
42-
uses: astral-sh/setup-uv@v5
35+
token: '${{ github.token }}'
4336

44-
- name: Install dependencies
45-
run: uv sync --extra=dev
46-
47-
- id: cz
48-
name: Create bump and changelog
37+
- name: Create bump and changelog
4938
uses: commitizen-tools/commitizen-action@master
5039
with:
51-
{% raw %}github_token: ${{ github.token }}{% endraw %}
52-
changelog_increment_filename: body.md
53-
{% raw %}increment: ${{ github.event.inputs.increment }}{% endraw %}
54-
55-
- name: Create Release
56-
uses: softprops/action-gh-release@v2
57-
with:
58-
body_path: body.md
59-
{% raw %}tag_name: ${{ env.REVISION }}{% endraw %}
60-
env:
61-
{% raw %}GITHUB_TOKEN: ${{ github.token }}{% endraw %}
40+
github_token: '${{ github.token }}'
41+
branch: master

0 commit comments

Comments
 (0)