This is an automated email from the ASF dual-hosted git repository. alien11689 pushed a commit to branch ARIES-2229-prepare-for-release in repository https://gitbox.apache.org/repos/asf/aries-rsa.git
commit dc7251b8a2a16ed2c593cdcee140738a99f9efae Author: Dominik Przybysz <[email protected]> AuthorDate: Wed May 27 19:15:25 2026 +0200 ARIES-2229: Describe release prepare and perform with dry run option --- Readme.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 09d493eb..60c7f65c 100644 --- a/Readme.md +++ b/Readme.md @@ -26,10 +26,23 @@ The discovery providers are responsible for finding the available endpoint descr ## Releasing +### Dry run the release + +```bash +./mvnw clean release:prepare -DreleaseArguments="-DskipTests=true -Dbnd.testing.skip=true" -DdryRun +./mvnw release:perform -DreleaseArguments="-DskipTests=true -Dbnd.testing.skip=true" -DdryRun +# Check the generated poms and cleanup before real release +git add . +git reset --hard +rm release.properties +``` + ### Maven release - ./mvnw clean release:prepare -DskipTests -Darguments=-DskipTests - ./mvnw release:perform -DskipTests -Darguments=-DskipTests +```bash +./mvnw clean release:prepare -DreleaseArguments="-DskipTests=true -Dbnd.testing.skip=true" +./mvnw release:perform -DreleaseArguments="-DskipTests=true -Dbnd.testing.skip=true" +``` This creates a staging repository. After all artifacts are deployed login to the [Apache maven repo](https://repository.apache.org) and close the staging repository.
