Skip to content

add changelog

add changelog #4

Workflow file for this run

# This workflow will upload a Python Package using hatch when a release is created
name: Publish Python Package
on:
push:
# only pushes to main trigger
# TODO
#branches: [main]
tags:
- v[0-9]+.[0-9]+.[0-9]+*
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install hatch
run: |
pip install --upgrade pip
pip install hatch
- name: Publish package
env:
# TODO update api token from test.pypi to pypi
HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}
HATCH_INDEX_USER: __token__
run: |
hatch build
# TODO hatch publish
hatch publish -r test