Skip to content

Commit

Permalink
Document reno_report script
Browse files Browse the repository at this point in the history
  • Loading branch information
hairyhum committed Apr 9, 2024
1 parent ba8e67b commit 81ff51e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion build/reno_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@

version=${1:-"''"}

## Generate changelog files using reno

## Used tools:
## - reno for changelog generation
## - rst2md for report conversion from rst to markdown

## This script generates changelog files in markdown format.
## Generated files are:
## - CHANGELOG.md contains all versions history (for versions which have reno notes)
## - CHANGELOG_CURRENT.md contains only current version changes

## Arguments:
## version ($1) - string to use for "current" version number

## Latest notes should go to current version
## We generate report before tagging the repo, so we need to set this version here
# echo "unreleased_version_title: ${version}" > reno.yaml
sed "s/unreleased_version_title: ''/unreleased_version_title: ${version}/g" reno.yaml > releasenotes/config.yaml


# Update changelog for all versions:

## Generate rst report
Expand Down

0 comments on commit 81ff51e

Please sign in to comment.