Skip to content

Create write permission #3

Create write permission

Create write permission #3

Workflow file for this run

name: release
permissions:
actions: write
on:
push:
branches:
- 'main'
- 'releases/**'
jobs:
run:
name: Bump and release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Hatch
run: pip install --upgrade hatch
- name: Bump version
run: hatch version minor
- name: Commit version bumb
run: |
git config user.name github-actions
git config user.email [email protected]
git commit -am "Automatic minor version bump"
git push
- name: build
run: hatch build
- name: release
run: hatch release