Skip to content

Commit

Permalink
feat: Now with git cliff generated release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarreno committed Sep 1, 2023
1 parent 42b6418 commit a57441a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches: [ main ]
tags: [ "*" ]
paths-ignore: [ "README.md", "CHANGELOG.md", "release-notes.md", "cliff.toml" ]
paths-ignore: [ "README.md", "CHANGELOG.md", "cliff.toml" ]

pull_request:
branches: [ main ]
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ jobs:
cd ..
fi
- name: Generate Release Notes
uses: orhun/git-cliff-action@v2
with:
config: cliff.toml
args: --verbose --latest
env:
OUTPUT: ${{ env.release-notes }}

- name: Create GitHub release
uses: softprops/[email protected]
with:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file.

## [unreleased]

### Miscellaneous Tasks

- Adding git cliff generated files and conf
- Added git cliff config file to be ignored

## [0.1-testing+11] - 2023-09-01

### Documentation
Expand Down
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# changelog header
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
Notable changes on this release.\n
"""
# template for the changelog body
# https://tera.netlify.app/docs
Expand Down
14 changes: 0 additions & 14 deletions release-notes.md

This file was deleted.

0 comments on commit a57441a

Please sign in to comment.