mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-01 15:00:00 +00:00
bdcc090851
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
31 lines
523 B
Markdown
31 lines
523 B
Markdown
## 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
|
|
./scripts/release.sh -t v1.0.0
|
|
```
|
|
|
|
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
|
|
./scripts/tag.sh -t v1.0.0
|
|
```
|
|
|
|
4. Push the tags:
|
|
|
|
```shell
|
|
git push origin --tags
|
|
```
|