Skip to content

release

release #20

Workflow file for this run

name: release
on: workflow_dispatch
jobs:
release:
name: Release
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: |
sudo apt-get install python3-venv make
pip3 install --upgrade pip wheel twine
- run: make release
- run: make release-test
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true
- run: echo bldr_version=$(cat bldr/VERSION) | tee --append $GITHUB_ENV
- uses: negz/create-tag@v1
with:
version: "v${{ env.bldr_version }}"
token: ${{ secrets.GITHUB_TOKEN }}