Skip to content

Commit

Permalink
Document how to release a new version (envoyproxy#196)
Browse files Browse the repository at this point in the history
Signed-off-by: rulex123 <erica.manno@gmail.com>
  • Loading branch information
rulex123 authored Feb 24, 2022
1 parent c8484a3 commit e64ff08
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,16 @@ following:
2. run [tools/update-api.sh](tools/update-api.sh) from the `tools`
directory.
3. update envoy-alpine-dev docker image version [EnvoyContainer.java] according to envoy SHA in first point.

#### Releasing a new version
To release and publish a new version, do the following:
1. create a personal API token in CircleCI by following the instructions listed [here](https://circleci.com/docs/2.0/managing-api-tokens/#creating-a-personal-api-token)
2. from terminal, curl the CircleCI API as follows

```
curl --request POST \
--url https://circleci.com/api/v2/project/github/envoyproxy/java-control-plane/pipeline \
--header 'Circle-Token: <API token>' \
--header 'content-type: application/json' \
--data '{"branch":"main","parameters":{"RELEASE":"<e.g. 0.1.29>","NEXT":"<e.g. 0.1.30-SNAPSHOT>"}}'
```

0 comments on commit e64ff08

Please sign in to comment.