Skip to content

v1.12.0rc1

v1.12.0rc1 #42

Workflow file for this run

---
name: Release new version
on: # yamllint disable-line rule:truthy
release:
types:
- published
jobs:
release-version:
name: Release new version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: '3.11'
- name: Install build tooling
run: pip install build twine
- name: Verify version matches tag
run: python .github/scripts/verify_version.py "${{ github.ref_name }}"
- name: Initialize .pypirc
run: |
echo -e "[pypi]" >> ~/.pypirc
echo -e "username = __token__" >> ~/.pypirc
echo -e "password = ${{ secrets.PYPI_DBT_SQLSERVER }}" >> ~/.pypirc
- name: Build and publish package
run: |
python -m build
twine upload dist/*