Skip to content

Commit

Permalink
add release workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
hkuffel committed May 20, 2022
1 parent 8acd3ce commit bb88109
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/tagged_release_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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/[email protected]
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 }}

0 comments on commit bb88109

Please sign in to comment.