go-pg / pg

Golang ORM with focus on PostgreSQL features and performance
https://pg.uptrace.dev/
BSD 2-Clause "Simplified" License
5.67k stars 404 forks source link

chore: add release scripts #1957

Closed vmihailenco closed 2 years ago

vmihailenco commented 2 years ago

@elliotcourant These scripts can be used to release go-pg.

First, create a PR:

git checkout v10
TAG=v10.10.7 ./scripts/release.sh

Then check that tests pass and merge the PR. Once PR is merged and you've pulled the changes, create tags:

git pull
TAG=v10.10.7 ./scripts/tag.sh