mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:05:05 +08:00
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.
This commit is contained in:
parent
5f943aabc8
commit
b2b5b7598c
3
Makefile
3
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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user