2022-07-03 07:45:31 +01:00
|
|
|
name: Create Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
create-release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Create changelog text
|
|
|
|
id: changelog
|
|
|
|
uses: loopwerk/tag-changelog@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2022-07-03 07:55:42 +01:00
|
|
|
config_file: .github/workflows/tag_changelog_config.js
|
2022-07-03 07:45:31 +01:00
|
|
|
|
|
|
|
- name: Create release
|
|
|
|
uses: actions/create-release@latest
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
tag_name: ${{ github.ref }}
|
2022-07-03 07:55:42 +01:00
|
|
|
release_name: ${{ github.ref }}
|
2022-07-03 07:45:31 +01:00
|
|
|
body: ${{ steps.changelog.outputs.changes }}
|