Skip to content

chore: Bump version to 2.2.0 #13

chore: Bump version to 2.2.0

chore: Bump version to 2.2.0 #13

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
name: Publish PyPI package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install poetry
run: >-
pip install poetry
- name: Install dependencies
run: >-
poetry install
- name: Build wheels
run: >-
poetry build
- name: Publish package to pypi.org
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
skip_existing: true
release-notes:
name: Release Notes
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Generate changelog
uses: docker://aevea/release-notary:0.9.7
with:
command: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}