Vehicle Researcher 4fca6dec8e openpilot v0.9.8 release
date: 2025-01-29T09:09:56
master commit: 227bb68e1891619b360b89809e6822d50d34228f
2025-01-29 09:09:58 +00:00

29 lines
741 B
YAML

name: release
on:
workflow_dispatch:
jobs:
publish_pypi:
name: "Publish package on PyPI"
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.repository == 'commaai/teleoprtc'
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
- uses: actions/setup-python@v5
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 }}"