From b2b5b7598c5bd91731233c74118a2c1ad7532e1c Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 4 Feb 2021 17:34:30 +0000 Subject: [PATCH] build: ensure go1.16 go gets the correct versions of tools go1.16 uses GO111MODULE=on by default which meant we were picking up v1 of nfpm instead of the intended v2. --- Makefile | 3 +-- RELEASE.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 089ebe557..f5f93d4d2 100644 --- a/Makefile +++ b/Makefile @@ -93,8 +93,7 @@ build_dep: # Get the release dependencies we only install on linux release_dep_linux: - cd /tmp && go get github.com/goreleaser/nfpm/... - cd /tmp && go get github.com/github-release/github-release + cd /tmp && go get github.com/goreleaser/nfpm/v2/... # Get the release dependencies we only install on Windows release_dep_windows: diff --git a/RELEASE.md b/RELEASE.md index 790644789..2a5f1091c 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -4,7 +4,7 @@ This file describes how to make the various kinds of releases ## Extra required software for making a release - * [github-release](https://github.com/aktau/github-release) for uploading packages + * [gh the github cli](https://github.com/cli/cli) for uploading packages * pandoc for making the html and man pages ## Making a release