Skip to content

Create Release

Create Release #2

Workflow file for this run

---
name: 'Create Release'
on:
workflow_dispatch:
inputs:
tag_name:
description: 'Tag name'
required: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: true
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
configurationJson: |
{
"pr_template": "- #{{TITLE}} (##{{NUMBER}})",
"categories": [
{
"title": "## Features",
"labels": ["feature", "feat"]
},
{
"title": "## Fixes",
"labels": ["fix"]
}
]
}
- name: Create Release
uses: mikepenz/[email protected]
with:
tag_name: ${{ github.event.inputs.tag_name }}
body: |
${{steps.github_release.outputs.changelog}}