Skip to content

Prepare to release 4.2.0 #16

Prepare to release 4.2.0

Prepare to release 4.2.0 #16

Workflow file for this run

name: Changelog
on:
push:
tags:
- 'v*'
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Changelog Generator from github issues
id: generate_changelog_file
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
compareLink: true
# Get config from .github_changelog_generator file
- name: Git Auto Commit
id: commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: master
commit_message: "Automatic changelog update"
file_pattern: "CHANGELOG.md"
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v1
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
body: ${{ steps.extract-release-notes.outputs.release_notes }}