Skip to content

Merge pull request #111 from carlthome/upgrade-dependencies #86

Merge pull request #111 from carlthome/upgrade-dependencies

Merge pull request #111 from carlthome/upgrade-dependencies #86

Workflow file for this run

on:
push:
branches:
- "master"
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
lfs: true
- name: Retrieve version
run: |
echo "::set-output name=TAG_NAME::$(grep -i -o -P '(?<=version=\")[^\"]+(?=\")' setup.py)"
id: version
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: changelog
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ steps.version.outputs.TAG_NAME }}
release_name: Release ${{ steps.version.outputs.TAG_NAME }}
body: ${{steps.changelog.outputs.changelog}}
draft: false
prerelease: false