Skip to content

Merge branch 'staging' into v5.x #53

Merge branch 'staging' into v5.x

Merge branch 'staging' into v5.x #53

Workflow file for this run

name: Generate Semantic Release and publish on PyPI
on:
push:
branches:
- v5.x
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 18
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Setup dependencies
run: |
npm install @semantic-release/git @semantic-release/exec --no-save
python3 -m pip install wheel twine
python3 -m pip install git+https://github.com/pypa/hatch
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
run: npx semantic-release