You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/08/31 12:37:22 UTC
[camel-kamelets] 02/02: Adding script facilities for completing the steps in release process
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch kamelets-release-improv
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit e5ff51fd9ff97cacfbba6fd768cf5d1595d08830
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Aug 31 14:36:57 2022 +0200
Adding script facilities for completing the steps in release process
---
README.md | 19 +++++++++++++++++++
release-utils/scripts/upload-source.sh | 2 ++
2 files changed, 21 insertions(+)
diff --git a/README.md b/README.md
index 1893761b..23500e01 100644
--- a/README.md
+++ b/README.md
@@ -215,6 +215,23 @@ Then perform the release:
./mvnw release:perform -Prelease
```
+Go to https://repository.apache.org/ and close the staging repository.
+
+A URL will be generated for the repository, like: https://repository.apache.org/content/repositories/orgapachecamel-xxxx. The URL needs to be communicated during the voting process.
+
+Now run:
+
+```
+cd release-utils/scripts/
+./upload-sources.sh $CAMEL_KAMELET_VERSION $CAMEL_KAMELET_VERSION
+```
+
+You'll be requested to insert the password to unlock the secret key to sign the artifacts and after uploading to nexus dev repository.
+
+You could verify the result at the following URL:
+
+https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/<$CAMEL_KAMELET_VERSION>
+
Restore Kamelets:
```
@@ -228,3 +245,5 @@ git commit -am "Restore Kamelets for development"
git push upstream main
```
+
+Send an email to dev mailing list to start the vote.
diff --git a/release-utils/scripts/upload-source.sh b/release-utils/scripts/upload-source.sh
index 28252439..4ab9cf9c 100755
--- a/release-utils/scripts/upload-source.sh
+++ b/release-utils/scripts/upload-source.sh
@@ -32,3 +32,5 @@ wget https://github.com/apache/camel-kamelets/archive/refs/tags/v$1.tar.gz -O ca
cd ../
./sign.sh $1/
svn import $1/ https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/$2/ -m "Import camel-kamelets release"
+
+rm -rf $1/