Skip to content

Change fields format to slice (#360) #21

Change fields format to slice (#360)

Change fields format to slice (#360) #21

Workflow file for this run

# release workflow gets triggered when a tag is pushed
# release job creates a changelog and creates a new draft release
on:
push:
tags:
- 'v*.*.*'
name: Release
jobs:
release:
strategy:
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Generate changelog
id: changelog-generator
uses: vedhavyas/[email protected]
with:
commit-template: '- {hash} → {title}'
template: |
### Changelog
{commits}
{range}
- name: Release
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.changelog-generator.outputs.changelog }}
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}