Skip to content

Bump version (1.1.8) #64

Bump version (1.1.8)

Bump version (1.1.8) #64

Workflow file for this run

name: Tag and release new PyPi package
on:
push:
tags:
- v*
jobs:
build-and-release-pypi-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3
uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install --upgrade build
pip install --upgrade twine
- name: Build package
run: python3 -m build
- name: Release package
run: twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} --verbose
update-docs:
needs: build-and-release-pypi-package
runs-on: ubuntu-latest
steps:
- name: Trigger docs rebuild
run: |
curl -X POST https://api.github.com/repos/cleanlab/cleanlab-studio-docs/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-H 'Authorization: token ${{ secrets.REBUILD_DOCS_TOKEN }}' \
--data '{"event_type": "rebuild_docs"}'