Skip to content

Commit

Permalink
Release and changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
corvus-ch committed Aug 23, 2022
1 parent a6cd746 commit 7978bee
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/changelog-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"pr_template": "- ${{TITLE}} #${{NUMBER}}",
"categories": [
{
"title": "## 🚀 Improvements",
"labels": ["enhancement"]
},
{
"title": "## 🐛 Fixes",
"labels": ["bug"]
}
]
}
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Release'
on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Build Changelog
id: log
uses: mikepenz/release-changelog-builder-action@v3
with:
configuration: .github/changelog-configuration.json
ignorePreReleases: true
outputFile: .github/release-notes.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: softprops/action-gh-release@v1
with:
body_path: .github/release-notes.md

0 comments on commit 7978bee

Please sign in to comment.