You will be assigned four Jiras. Below are the Jiras and in the suggested order to work them:
- Create a "shell" file for the release notes
- Create a "placeholder" file for the release notes
- Review the known issues and bug fixes
- Update and assemble the CNV release notes
A "shell" file will need to be created so that writers can start adding release notes. The process is essentially copying over the previous version's release note file and preparing it for the new version by:
- Updating the release notes file name and anchor IDs
- Removing all content under New and changed features but making sure to leave headers
- Removing Bug fixes content
- Removing Removed features content
This is a step by step process with commands included. Be sure to replace 4.17
and 4.18
with the versions you are working with.
- Check out the branch of the new version:
$ git checkout enterprise-4.18 ; git fetch upstream
- Create a feature branch off of the enteprise branch:
$ git checkout -b CNV-XXXX
- Rename the old version filename to the new version filename:
$ git mv virt/release_notes/virt-4-17-release-notes.adoc virt/release_notes/virt-4-18-release-notes.adoc
- Replace all old version strings with the new version strings in the release notes file:
$ sed -i 's/virt-4-17/virt-4-18/g' virt/release_notes/virt-4-18-release-notes.adoc
- Replace old version string with the new version string in the
_topic_map.yml
file:$ sed -i 's/virt-4-17-release-notes/virt-4-18-release-notes/g' _topic_maps/_topic_map.yml
- Replace old version string with the new version string in the OCP
addtl-release-notes.adoc
file:$ sed -i 's/virt-4-17-release-notes/virt-4-18-release-notes/g' release_notes/addtl-release-notes.adoc
- Remove all content under New and changed features, Bug fixes, and Removed features in the release-note file while making sure to leave the headers of the sections.
- Save all changes and submit your pull request.
Example PR: Link
For builds and tests to be successful in your GitHub pull request, you must open a separate PR to add a dummy release notes file to the main branch. This is a step by step process with commands included. Be sure to replace 4.18
with the version you are working on.
- Check out the branch of the new version:
$ git checkout main ; git fetch upstream
- Create a feature branch off of the main branch:
$ git checkout -b CNV-XXXX
- Create a new placeholder file with the new version name:
$ touch virt/release_notes/virt-4-18-release-notes.adoc
- Place the contents below into that file and save it.
:_mod-docs-content-type: ASSEMBLY [id="virt-4-18-release-notes"] = {VirtProductName} release notes include::_attributes/common-attributes.adoc[] :context: virt-4-18-release-notes toc::[] Do not add or edit release notes here. Edit release notes directly in the branch that they are relevant for. This file is here to allow builds to work.
- Save all changes and submit your pull request.
Example PR: Link