From f1aba52ad6690ef1ccc8a2e50fe8d727cd4a36e5 Mon Sep 17 00:00:00 2001 From: Tom McKeesick Date: Tue, 12 Mar 2024 23:33:24 +1100 Subject: [PATCH] create a deploy section --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e326fdc4..1c867d55 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Print pokemon in the CLI! An adaptation of the classic "cowsay" - [In docker](#in-docker) - [Developing](#developing) - [Testing](#testing) + - [Deploying](#deploying) - [TODO](#todo) --- @@ -152,6 +153,16 @@ go test -v ./test/ DEBUG=test go test -v ./test/ ``` +### Deploying + +1. Make a PR, and merge it into master +2. Draft a new release [https://github.com/tmck-code/pokesay/releases/new](https://github.com/tmck-code/pokesay/releases/new) +3. Give it a new tag and identical release title by incrementing the version + 1. Generate the release notes automatically +4. Run `make all` (or some variation) locally to create the binaries under `build/bin/` + 1. Upload the bins to the release page +5. Then click "Publish Release"! The install script downloads binaries from the most recently-published released + --- ## TODO