Skip to content

Bump to 0.8.0

Bump to 0.8.0 #5

Workflow file for this run

# https://github.com/marketplace/actions/changelog-reader#example-workflow---create-a-release-from-changelog
on:
push:
tags:
- "v*"
name: Create GitHub Release
jobs:
build:
name: Parse release notes from changelog and create a GitHub release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Get version from tag
id: tag_name
run: |
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
shell: bash
- name: Checkout code
uses: actions/checkout@v3
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ steps.tag_name.outputs.current_version }}
path: ./CHANGELOG.md
- name: Create/update release
uses: ncipollo/release-action@v1
with:
name: Release v${{ steps.changelog_reader.outputs.version }}
body: ${{ steps.changelog_reader.outputs.changes }}
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}