From b6821d74507425fae930728be21fa375e86e7e4d Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 24 Jun 2023 08:26:51 -0400 Subject: [PATCH] Minor spelling fix, minor cleanup --- .golangci.yml | 2 +- .goreleaser.yml | 2 +- .make/common.mk | 2 +- Makefile | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 4ad5ab7..5a14a15 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -434,7 +434,7 @@ severity: # selected out format. # - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity # - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity - # - Github: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message + # - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message default-severity: error # The default value is false. diff --git a/.goreleaser.yml b/.goreleaser.yml index dabfaef..c4df4bb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -29,7 +29,7 @@ build: skip: true # --------------------------- -# Github Release +# GitHub Release # --------------------------- release: prerelease: true diff --git a/.make/common.mk b/.make/common.mk index 5d92c0a..1f0623e 100644 --- a/.make/common.mk +++ b/.make/common.mk @@ -45,7 +45,7 @@ install-releaser: ## Install the GoReleaser application @echo "installing GoReleaser..." @curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -release:: ## Full production release (creates release in Github) +release:: ## Full production release (creates release in GitHub) @echo "releasing..." @test $(github_token) @export GITHUB_TOKEN=$(github_token) && goreleaser --rm-dist diff --git a/Makefile b/Makefile index 92f843e..5f5570a 100644 --- a/Makefile +++ b/Makefile @@ -14,15 +14,16 @@ ifeq ($(REPO_OWNER),) REPO_OWNER="bitcoinschema" endif -.PHONY: clean - +.PHONY: all all: ## Runs multiple commands @$(MAKE) test +.PHONY: clean clean: ## Remove previous builds and any test cache data @go clean -cache -testcache -i -r @test $(DISTRIBUTIONS_DIR) @if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); fi +.PHONY: release release:: ## Runs common.release then runs godocs @$(MAKE) godocs \ No newline at end of file