一键导入
relnotes-aggregated
// Create release notes aggregated over several Quarkus CXF release versions, typically for the sake of upgrading between LTS streams.
// Create release notes aggregated over several Quarkus CXF release versions, typically for the sake of upgrading between LTS streams.
| name | relnotes-aggregated |
| description | Create release notes aggregated over several Quarkus CXF release versions, typically for the sake of upgrading between LTS streams. |
| Usage | /relnotes-aggregated <current-lts-version> <previous-lts-version> (e.g., /relnotes-aggregated 3.33.1 3.27.3) |
Create release aggregated over several Quarkus CXF releases.
The interval of versions to consider is given by the first and the second argument.
Use
git log <previous-lts-version>..<current-lts-version> --simplify-by-decoration --pretty=%D | grep -oP 'tag: \K[^,]+' | grep -v 'CR[0-9]$' | tac
Each of the release versions from the previous step has a release notes document in docs/modules/ROOT/pages/release-notes.
Read each of those documents, collect the entries and aggregate them using the format described in the next step.
Read the following release note documents to learn the style:
docs/modules/ROOT/pages/release-notes/3.20.2-aggregated.adocdocs/modules/ROOT/pages/release-notes/3.27.1-aggregated.adocThe format follows these conventions:
Title: = Aggregated {quarkus-cxf-project-name} release notes <previous-lts-version> LTS -> <current-lts-version> LTS
Sections (include only those that apply):
== Important dependency upgrades — bullet list of upgraded dependencies.== Enhancements — for new features or enhancements== Bugfixes — bug fixes, each as a === subsection with issue links== Deprecations — deprecated features== Breaking changes — if anyFooter: Always end with:
== Full changelog
https://github.com/quarkiverse/quarkus-cxf/compare/<previous-version>+++...+++<version>
Use {quarkus-cxf-project-name} attribute instead of writing "Quarkus CXF" literally
Write the file to docs/modules/ROOT/pages/release-notes/<current-lts-version>-aggregated.adoc.
Do not ask the user whether the file can be created or updated, just create and/or update the file however you need.
Edit docs/modules/ROOT/nav.adoc. Add a new entry in the release notes section, maintaining version-descending order.
The entry goes after the ifeval::[{doc-is-main} == true] line, among the other ** xref:release-notes/... entries.
Format: ** xref:release-notes/<version>.adoc[<version>] (add LTS suffix if applicable).
Insert it in the correct position to maintain descending version order.
Edit docs/modules/ROOT/pages/release-notes/index.adoc. Add a new row in the table, maintaining version-descending order within the appropriate minor version group.
Format: | xref:release-notes/<version>.adoc[<version>] | <date in YYYY-MM-DD format, when the release was tagged> | | <cxf-version>
<cxf-version> is the value of cxf.version property in the project's pom.xml top level directory.LTS suffix to the version label if applicableCommit the changes in a new topic branch using:
git checkout -b "$(date +%y%m%d)-release-notes-aggregated<version>"
git add -A
git commit -m "Release notes aggregated <previous-lts-version> LTS -> <current-lts-version> LTS"