FrogAi 659adb6457 openpilot v0.9.7 release
date: 2024-03-17T10:14:38
master commit: 7e9a909e0e57ecb31df4c87c5b9a06b1204fd034
2024-05-24 17:43:27 -07:00

27 lines
703 B
YAML

name: release
on:
workflow_dispatch:
jobs:
publish_pypi:
name: "Publish package on PyPI"
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master' && github.repository == 'commaai/teleoprtc'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Bump version and tag
run: |
git config --global user.name "Vehicle Researcher"
git config --global user.email "user@comma.ai"
bash scripts/bump_tag.sh
git push --no-verify --force-with-lease --tags origin master
- name: Build and publish
run: |
bash scripts/publish_pypi.sh "${{ secrets.PYPI_PAT }}"