Skip to content

Commit eed3dec

Browse files
committed
docs(release): add release process
1 parent 1773007 commit eed3dec

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

docs/release.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Releasing `http-echo`
2+
3+
This repository uses HashiCorp's internal CRT process for releasing.
4+
IYKYK.
5+
6+
## Prepartion
7+
1. You have the the `bob` CLI installed
8+
1. You have all of the necessary rights that you would need to perform a Consul core release.
9+
See those docs for more information.
10+
1. The commit you intend to release from `main` has passed the CRT `build` and `prepare` workflows.
11+
12+
## Promote to staging
13+
14+
```bash
15+
bob trigger-promotion \
16+
--product-name=http-echo \
17+
--repo=http-echo \
18+
--product-version="<version from version/VERSION>" \
19+
--sha="<commit you want to release>" \
20+
--environment="http-echo-oss" \
21+
--slack-channel="C0253EQ5B40" \
22+
--org="hashicorp" \
23+
--branch "main" \
24+
staging
25+
```
26+
27+
## Promote to production
28+
```bash
29+
bob trigger-promotion \
30+
--product-name=http-echo \
31+
--repo=http-echo \
32+
--product-version="<version from version/VERSION>" \
33+
--sha="<commit you want to release>" \
34+
--environment="http-echo-oss" \
35+
--slack-channel="C0253EQ5B40" \
36+
--org="hashicorp" \
37+
--branch "main" \
38+
production
39+
```
40+
41+
## Edit the GH Release
42+
43+
Manually edit the [new release page in GitHub](https://github.com/hashicorp/http-echo/releases/latest) to point to the release artifacts:
44+
45+
```
46+
[Binaries can be downloaded here](https://releases.hashicorp.com/http-echo/${insert your version here}/).
47+
```

0 commit comments

Comments
 (0)