From 4a6c574fea45df83e1b1d3b35b5f34ff4b4bcef2 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Mon, 13 Nov 2023 17:49:03 -0600 Subject: [PATCH] add release instructions to development.md --- docs/development.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/development.md b/docs/development.md index 7882e1df..43a89f0a 100644 --- a/docs/development.md +++ b/docs/development.md @@ -25,4 +25,16 @@ Run the linter and try to autofix: The project uses sqlc (`brew install sqlc`) to generate Go targets for Postgres queries. After changing an sqlc `.sql` file, generate Go with: - make generate \ No newline at end of file + make generate + +## Releasing a new version + +First, merge a `CHANGELOG.md` update describing the changes. Next, update the repo locally and push new tags: + +```shell +git checkout master && git pull --rebase +VERSION=v0.0.x +git tag riverdriver/riverpgxv5/$VERSION -m "release riverdriver/riverpgxv5/$VERSION" +git tag $VERSION +git push --tags +```