Skip to content

Update version

Update version #19

name: Tagged Release
on:
push:
tags: [ 'v*.*.*' ]
jobs:
tagged-release:
name: Tagged Release
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: actions/checkout@v2
- name: Draft Changelog
id: draft_changelog
uses: mikepenz/release-changelog-builder-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Publish to PyPI
uses: JRubics/poetry-publish@v1.6
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
- name: Make GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
body: ${{ steps.draft_changelog.outputs.changelog }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}