From 45056e3736702e2507d7f064671bede4a2ff0352 Mon Sep 17 00:00:00 2001 From: David Allen Date: Thu, 12 Sep 2024 11:09:28 -0600 Subject: [PATCH] Added revision to 'go install' commands --- .goreleaser.yaml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9cdcf94..56af355 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -3,7 +3,7 @@ version: 2 before: hooks: - go mod download - - go install github.com/cpuguy83/go-md2man/v2 + - go install github.com/cpuguy83/go-md2man/v2@latest - go-md2man -in README.md -out manpage.1 builds: diff --git a/Makefile b/Makefile index f787545..848646c 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ inst: ## go install tools go install github.com/client9/misspell/cmd/misspell@v0.3.4 go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2 go install github.com/goreleaser/goreleaser@v1.18.2 - go install github.com/cpuguy83/go-md2man/v2 + go install github.com/cpuguy83/go-md2man/v2@latest .PHONY: goreleaser release: ## goreleaser build @@ -106,7 +106,7 @@ emulator: man: $(call print-target) - go-md2man -in README.md -out magellan.1 + $(GOPATH)/bin/go-md2man -in README.md -out magellan.1 define print-target @printf "Executing target: \033[36m$@\033[0m\n"