How to customize some changelog format (date, description and order of section)
Author: JasonnorCreated Jul 15, 2021Updated May 9, 2024
Labelsquestion
Hello, our repo has maintained its own changelog for a while, and recently discovered this cool automation tool.
However, we want more customization of some changelog formats, including:
- Date format, e.g.,
<!-- Before -->
## [1.1.0](../compare/v1.0.0...v1.1.0) (2021-07-15)
<!-- After -->
## [1.1.0](../compare/v1.0.0...v1.1.0) - 2021-07-15
- Description, e.g.,
<!-- Before -->
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
<!-- After -->
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.- Order of section (I don’t know why the bug fixes is always displayed before feature), e.g.,
<!-- Before -->
### Bug fixes and other changes
...
### Features and improvements
...
<!-- After -->
### Features and improvements
...
### Bug fixes and other changes
...I wonder if there is a way to do it? Thanks!
Source: conventional-changelog/standard-version