From f6053e0514bdf7b55f5ccc3b206278f307959484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9da=20Housni=20Alaoui?= Date: Thu, 4 Aug 2022 21:36:36 +0200 Subject: [PATCH] Document the release process Fix #26901 --- CONTRIBUTING.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a4518c2984aebe..4447050150dc17 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,6 +35,7 @@ fixes, documentation, examples... But first, read this page (including the small - [Automatic incremental build](#automatic-incremental-build) * [Special case `bom-descriptor-json`](#special-case--bom-descriptor-json-) * [Usage by CI](#usage-by-ci) +* [Release](#release) * [Documentation](#documentation) + [Building the documentation](#building-the-documentation) + [Referencing a new guide in the index](#referencing-a-new-guide-in-the-index) @@ -502,6 +503,26 @@ CI is using a slightly different GIB config than locally: For more details see the `Get GIB arguments` step in `.github/workflows/ci-actions-incremental.yml`. +## Release + +To release version `x.y`, first update the version: + +```shell +./update-version.sh "x.y" +``` + +Commit the changes then run: + +```shell +./mvnw --settings .github/mvn-settings.xml \ + -B \ + -Prelease \ + -DskipTests -DskipITs \ + -Ddokka \ + -Dgpg.skip \ + clean deploy +``` + ## Documentation The documentation is hosted in the [`docs` module](https://github.com/quarkusio/quarkus/tree/main/docs) of the main