Automate release notes egenration for GitHub releases

Description

Hi!

One of the release tasks is to create a release on a GitHub in code repo and add release notes there. The source *.md file has relative links and marcoses that prevent a simple copy&paste unless we want to drop links.

Copying the ready HTML output has the links but breaks the formatting, so it requires manual restoration of it.

The task is to write some automation that would convert the doc markdown file into the read-to-use doc for github:

  • Replace relative links with the real links: substitute the ../*.md#anchor path with the https://docs.percona.com/percona-operator-for-mongodb/*.html#anchor (For PS/PXC, the URL is the https://docs.percona.com/percona-operator-for-mysql/pxc/*.html#anchor orhttps://docs.percona.com/percona-operator-for-mysql/ps/*.html#anchor)

  • Convert macros for Jira tasks into real URLs: {{ k8spsmdbjira(1215) }} to [jira](https://jira.percona.com/browse/jira)

Environment

None

Activity

Show:

Details

Assignee

Reporter

Needs QA

Yes

Priority

Smart Checklist

Created 4 days ago
Updated 4 days ago