Skip to content

fix(logout)!: send client_id so post_logout_redirect_uri is honoured #6

fix(logout)!: send client_id so post_logout_redirect_uri is honoured

fix(logout)!: send client_id so post_logout_redirect_uri is honoured #6

Workflow file for this run

name: release
on:
push:
tags: ['v*']
permissions:
contents: read
id-token: write # OIDC for PyPI trusted publishing
jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install build
- name: Check tag matches project version
run: |
VERSION=$(python -c "import tomllib;print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
if [ "v$VERSION" != "$GITHUB_REF_NAME" ]; then
echo "Tag $GITHUB_REF_NAME does not match project version v$VERSION" >&2
exit 1
fi
- run: python -m build
- uses: pypa/gh-action-pypi-publish@release/v1