Skip to content

Commit e64ff08

Browse files
authored
Document how to release a new version (#196)
Signed-off-by: rulex123 <[email protected]>
1 parent c8484a3 commit e64ff08

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,16 @@ following:
3737
2. run [tools/update-api.sh](tools/update-api.sh) from the `tools`
3838
directory.
3939
3. update envoy-alpine-dev docker image version [EnvoyContainer.java] according to envoy SHA in first point.
40+
41+
#### Releasing a new version
42+
To release and publish a new version, do the following:
43+
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)
44+
2. from terminal, curl the CircleCI API as follows
45+
46+
```
47+
curl --request POST \
48+
--url https://circleci.com/api/v2/project/github/envoyproxy/java-control-plane/pipeline \
49+
--header 'Circle-Token: <API token>' \
50+
--header 'content-type: application/json' \
51+
--data '{"branch":"main","parameters":{"RELEASE":"<e.g. 0.1.29>","NEXT":"<e.g. 0.1.30-SNAPSHOT>"}}'
52+
```

0 commit comments

Comments
 (0)