GoToSocial/vendor/github.com/uptrace/bun/CONTRIBUTING.md

523 B

Running tests

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

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:
./scripts/release.sh -t v1.0.0
  1. Open a pull request and wait for the build to finish.

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

./scripts/tag.sh -t v1.0.0
  1. Push the tags:
git push origin --tags