Skip to content

Backport PR #2234: Add date to 1.0.3 release (#2235) #28

Backport PR #2234: Add date to 1.0.3 release (#2235)

Backport PR #2234: Add date to 1.0.3 release (#2235) #28

Workflow file for this run

name: Release
on:
push:
tags:
- "*.*.*"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
# will use ref/SHA that triggered it
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install hatch
run: |
pip install hatch
- name: Build project for distribution
run: hatch build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}