From c73b61e839a5e7d892044cf1a89d45a65e53b971 Mon Sep 17 00:00:00 2001 From: Oliver Schrenk Date: Fri, 8 Dec 2023 17:04:05 -0600 Subject: [PATCH] README: Release/Install instructions --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b13fb7..6374a88 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,13 @@ cd nightshift.swift task install ``` +**Via homebrew** + +``` +brew tap oschrenk/made git@github.com:oschrenk/homebrew-made +brew install oschrenk/made/nightshift +``` + ## Development - `task build` **Build** @@ -51,7 +58,16 @@ task install ## Release +1. produce artifact in `./.build/release/nightshift` +2. Export version number, prefix with `v` +3. Create Tag +4. Push Tag +5. Create release on github + ``` task release -# produces artifact in ./.build/release/nightshift +export VERSION=v0.1 +git tag "$VERSION" +git push origin "$VERSION" +gh release create "$VERSION" '.build/release/nightshift' ```