From def411da62df1a86e94c53207e392fadbf2caec7 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 1 Oct 2019 14:04:31 +0100 Subject: [PATCH] build: use the release builds not master of nfpm and github-release Fixes #3580 --- .github/workflows/build.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36d435197..aa7f33d68 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -197,7 +197,7 @@ jobs: - name: Deploy built binaries shell: bash run: | - make release_dep + if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then make release_dep ; fi make travis_beta env: RCLONE_CONFIG_PASS: ${{ secrets.RCLONE_CONFIG_PASS }} diff --git a/Makefile b/Makefile index 587eb31ae..354915faa 100644 --- a/Makefile +++ b/Makefile @@ -87,8 +87,8 @@ build_dep: # Get the release dependencies release_dep: - go get -u github.com/goreleaser/nfpm/... - go get -u github.com/aktau/github-release + go run bin/get-github-release.go -extract nfpm goreleaser/nfpm 'nfpm_.*_Linux_x86_64.tar.gz' + go run bin/get-github-release.go -extract github-release aktau/github-release 'linux-amd64-github-release.tar.bz2' # Update dependencies update: