From 2b885a0aba6b19887b18d757a014bb64d046796b Mon Sep 17 00:00:00 2001 From: Adrian Macneil Date: Mon, 27 May 2019 15:29:11 -0700 Subject: [PATCH] Create RELEASING.md --- RELEASING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 RELEASING.md diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..eca7a88 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,12 @@ +# Releasing + +The following steps should be followed to publish a new version of dbmate (requires write access to this repository). + +1. Update [version.go](/pkg/dbmate/version.go) and [README.md](/README.md) with new version number ([example PR](https://github.com/amacneil/dbmate/pull/79/files)) +2. Create new release on GitHub project [releases page](https://github.com/amacneil/dbmate/releases) +3. Build using `make docker` and upload contents of `dist/` directory as assets attached to the GitHub release +4. Create PR to update Homebrew package by running the following command: + +``` +$ brew bump-formula-pr --url=https://github.com/amacneil/dbmate/archive/vX.Y.Z.tar.gz dbmate +```