Skip to content

Commit

Permalink
Adding script facilities for completing the steps in release process
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Aug 31, 2022
1 parent 450b23f commit 7c50f91
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand All @@ -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.
2 changes: 2 additions & 0 deletions release-utils/scripts/upload-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 7c50f91

Please sign in to comment.