Skip to content

Commit df3d67b

Browse files
authored
Add releasing docs (#125)
1 parent 691fee0 commit df3d67b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

apps/dbagent/Releasing.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Releasing
2+
3+
## Create a new tag
4+
5+
```bash
6+
git tag -a v0.1.9 -m "Release 0.1.9"
7+
git push origin v0.1.9
8+
```
9+
10+
## Create docker image
11+
12+
In the root directory, run something like:
13+
14+
```bash
15+
docker build --platform linux/amd64 -t xataio/agent:0.1.9 .
16+
```
17+
18+
Login to docker hub (credentials in 1Password) and push the image.
19+
20+
```bash
21+
docker push xataio/agent:0.1.9
22+
```
23+
24+
Update the tag in the `docker-compose.yml` file.
25+
26+
## Release notes
27+
28+
Get the list of changes from the git log since the last tag.
29+
30+
```bash
31+
git log v0.1.2.. | pbcopy
32+
```
33+
34+
And summarize it into release notes using AI.

0 commit comments

Comments
 (0)