summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/CONTRIBUTING.md
blob: 03e79cdc4b8432fdb0f4e1ac9af15e559fcfb42f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Running tests

To run tests, you need Docker which starts PostgreSQL and MySQL servers:

```shell
cd internal/dbtest
./test.sh
```

## Releasing

1. Run `release.sh` script which updates versions in go.mod files and pushes a new branch to GitHub:

```shell
TAG=v1.0.0 ./scripts/release.sh
```

2. Open a pull request and wait for the build to finish.

3. Merge the pull request and run `tag.sh` to create tags for packages:

```shell
TAG=v1.0.0 ./scripts/tag.sh
```