Skip to content

chore(deps): Update setuptools requirement from ~=68.1.2 to ~=68.2.2 … #28

chore(deps): Update setuptools requirement from ~=68.1.2 to ~=68.2.2 …

chore(deps): Update setuptools requirement from ~=68.1.2 to ~=68.2.2 … #28

Workflow file for this run

name: Release version
on:
push:
branches: [ main ]
permissions:
contents: write
jobs:
release-version:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
name: "Bump version, create changelog and release"
steps:
- name: Check out
uses: actions/checkout@v3
with:
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
id: bump
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
changelog_increment_filename: release_body.md
- name: Build package
run: |
python -m build
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: release_body.md
tag_name: ${{ env.REVISION }}
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}