build(changelog): ease down on the changelog updates, remove 'unreleased' part (#669)

This commit is contained in:
pataar authored and GitHub committed 2022-02-21 15:26:02 +01:00
1 parent 4f96e160c8
commit 90eabb6d60
3 files changed
+2 -65

No files matched your search

+1 -12
View File
@@ -5,10 +5,6 @@ on:
push:
tags:
- '*'
# Update the changelog everyday
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '1 0 * * *'
# Update the changelog by invoking this workflow manually
workflow_dispatch:
@@ -31,17 +27,10 @@ jobs:
id: git-cliff
with:
config: cliff.toml
args: v0.0.4..${{ steps.latest_tag.outputs.TAG_NAME }} --strip header
args: v0.0.4..${{ steps.latest_tag.outputs.TAG_NAME }}
env:
OUTPUT: CHANGELOG.md
- name: Generate the unreleased changelog
uses: orhun/git-cliff-action@v1
id: git-cliff-unreleased
with:
config: cliff.toml
args: --unreleased --prepend CHANGELOG.md --strip footer
- name: show CHANGELOG
run: |
cat CHANGELOG.md