From c6181758ca01eba09fc596cbf34bb12ad3afb7f4 Mon Sep 17 00:00:00 2001 From: Mike Ball Date: Thu, 10 Feb 2022 10:09:08 -0500 Subject: [PATCH 1/4] improve README ...and ignore README edits from GH Actions workflows. --- .github/workflows/main.yml | 10 +++++++++- README.md | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5d9237..a0388ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,14 @@ name: CI/CD -on: [push, pull_request] +on: + pull_request: + paths-ignore: + - '**/README.md' + push: + branches: + - main + paths-ignore: + - '**/README.md' jobs: build-snapshot: diff --git a/README.md b/README.md index f28d6a3..e1f6596 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ A Go-based CLI implementation of [Josh Wardle](https://powerlanguage.co.uk)'s [W Mac OS [homebrew](https://brew.sh/) users: ``` +brew tap mdb/homebrew-repo brew install wordle ``` @@ -55,4 +56,6 @@ make * Could https://github.com/rivo/tview enable some UI improvements? Or is that overkill? * Would it be cool to provide an option to output the final grid as an image, such that it could be shared? +* Would it be cool to provide an option to output stats? +* Would it be cool to restrict game play to once/day? * Would it be cool to restrict game play to once/day? From 73183c2b80447f50df86ea18bfe21613fee6f91f Mon Sep 17 00:00:00 2001 From: Mike Ball Date: Thu, 10 Feb 2022 17:37:34 -0500 Subject: [PATCH 2/4] normalize indentation --- .github/workflows/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0388ba..cf79061 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,24 +3,24 @@ name: CI/CD on: pull_request: paths-ignore: - - '**/README.md' + - '**/README.md' push: branches: - - main + - main paths-ignore: - - '**/README.md' + - '**/README.md' jobs: build-snapshot: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.17 - - name: Build - run: make + - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + - name: Build + run: make build-and-publish-release: if: github.ref == 'refs/heads/main' From a58b6885fff829445c1d1dfc28a9a0c0b54ac295 Mon Sep 17 00:00:00 2001 From: Mike Ball Date: Thu, 10 Feb 2022 17:40:23 -0500 Subject: [PATCH 3/4] ensure unique version during CI/CD --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cf79061..6cf1e8b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,8 @@ jobs: go-version: 1.17 - name: Build run: make + - name: Ensure unique version + run: make check-tag build-and-publish-release: if: github.ref == 'refs/heads/main' From d252a52265da43f7416495bc407cb7831c8eb5b8 Mon Sep 17 00:00:00 2001 From: Mike Ball Date: Thu, 10 Feb 2022 17:40:41 -0500 Subject: [PATCH 4/4] bump version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a47fdbd..f3b5180 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 0.0.6 +VERSION = 0.0.7 SOURCE = ./... .DEFAULT_GOAL := build