From 3e8bb0c56ed90fec803374c219e0def130026b1f Mon Sep 17 00:00:00 2001 From: Goubbaa Karim Date: Wed, 25 Sep 2024 16:00:15 +0200 Subject: [PATCH] chore(): review release docs & skip example deployment --- CONTRIBUTING.md | 20 +++++++------------- example/pom.xml | 11 +++++++++++ 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 721f147b6..8b0810535 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -338,10 +338,8 @@ Use it to update [CHANGELOG.md](https://github.com/chutney-testing/chutney/blob/ git switch -c release/ git add CHANGELOG.md (see Update Changelog file section) Update manually `chutneyVersion` in [idea-plugin/gradle.properties](https://github.com/chutney-testing/chutney/blob/main/idea-plugin/gradle.properties) -Update manually `chutneyVersion` in [kotlin-dsl/gradle.properties](https://github.com/chutney-testing/chutney/blob/main/kotlin-dsl/gradle.properties) -mvn versions:set -DnewVersion= -DgenerateBackupPoms=false -f chutney/pom.xml -mvn versions:set-scm-tag -DnewTag= -DgenerateBackupPoms=false -f chutney/pom.xml -mvn versions:set -DnewVersion= -DgenerateBackupPoms=false -f example/pom.xml +mvn versions:set -DnewVersion= -DgenerateBackupPoms=false +mvn versions:set-scm-tag -DnewTag= -DgenerateBackupPoms=false git add . git diff --staged git commit -m "chore: Release " @@ -383,10 +381,8 @@ In order to effectively release artifacts : ```shell Update manually `chutneyVersion` in [idea-plugin/gradle.properties](https://github.com/chutney-testing/chutney/blob/main/idea-plugin/gradle.properties) -Update manually `chutneyVersion` in [kotlin-dsl/gradle.properties](https://github.com/chutney-testing/chutney/blob/main/kotlin-dsl/gradle.properties) -mvn versions:set -DnewVersion= -DgenerateBackupPoms=false -f chutney/pom.xml -mvn versions:set-scm-tag -DnewTag=HEAD -DgenerateBackupPoms=false -f chutney/pom.xml -mvn versions:set -DnewVersion= -DgenerateBackupPoms=false -f example/pom.xml +mvn versions:set -DnewVersion= -DgenerateBackupPoms=false +mvn versions:set-scm-tag -DnewTag=HEAD -DgenerateBackupPoms=false git diff HEAD git add . && git commit -m "chore: Prepare next development " git push origin @@ -407,10 +403,8 @@ git push origin git switch -c release/ git add CHANGELOG.md (see Update Changelog file section) Update manually `chutneyVersion` in [idea-plugin/gradle.properties](https://github.com/chutney-testing/chutney/blob/main/idea-plugin/gradle.properties) -Update manually `chutneyVersion` in [kotlin-dsl/gradle.properties](https://github.com/chutney-testing/chutney/blob/main/kotlin-dsl/gradle.properties) -mvn versions:set -DnewVersion= -DgenerateBackupPoms=false -f chutney/pom.xml -mvn versions:set-scm-tag -DnewTag= -DgenerateBackupPoms=false -f chutney/pom.xml -mvn versions:set -DnewVersion= -DgenerateBackupPoms=false -f example/pom.xml +mvn versions:set -DnewVersion= -DgenerateBackupPoms=false +mvn versions:set-scm-tag -DnewTag= -DgenerateBackupPoms=false git add . git diff --staged git commit -m "chore: Release " @@ -430,8 +424,8 @@ Create a new maven module with _chutney-parent_ as parent. And name your module such as _chutney-task-\[task-name\]_ ```xml - chutney-parent com.chutneytesting + chutney-parent ``` diff --git a/example/pom.xml b/example/pom.xml index 908dd9243..2aec8f8fc 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -166,5 +166,16 @@ + + + + maven-deploy-plugin + 3.1.3 + + true + + + +