Skip to content

Commit

Permalink
Upgrade release.adoc with instruction about upload/promote sources
Browse files Browse the repository at this point in the history
(cherry picked from commit apache/camel-k@65633f584)
  • Loading branch information
oscerd authored and github-actions[bot] committed Dec 12, 2022
1 parent 69dced0 commit 6245782
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions release.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,15 @@ make release-staging
```

Binary files will be generated and put in the project root directory, including examples.
All those files should be put in the corresponding directory of the camel-k dev SVN at https://dist.apache.org/repos/dist/dev/camel/camel-k/<version>.

Sources are not produced directly by the scripts, but since the procedure is creating a tag, the source code in tar.gz format can be downloaded from Github
at: https://github.com/apache/camel-k/releases

After copying all the files to the dev SVN, a `sign.sh` script in the parent directory can be used to sign all the uploaded artifacts:
Now run:

```
./sign.sh <version> <gpg_pass>
cd release-utils/scripts/
./upload-sources.sh <released_version> <released_version>
```

Commit all files to the SVN.
This will upload the sources, client and examples to the dist/dev repository in ASF.

A docker image `camelk/camel-k:<version>` will be pushed to the staging organization (`camelk`, not `apache`).

Expand Down Expand Up @@ -228,7 +225,12 @@ docker push apache/camel-k:$VERSION
Artifacts committed on https://dist.apache.org/repos/dist/dev/ before the voting process need to be copied to the
Apache dist repository on: https://dist.apache.org/repos/dist/release/camel.

The same should be done for camel-kamelets and camel-k-runtime in case of combined vote.
Camel-kamelets, camel-k-runtime and camel-k contains a script to promote the release from dev to release

```
cd release-utils/scripts/
./promote-release.sh <released_version>
```

Wait for maven mirrors to sync the new artifacts. This can take more than 1 hour sometimes.

Expand Down

0 comments on commit 6245782

Please sign in to comment.