build: use the release builds not master of nfpm and github-release

Fixes #3580
This commit is contained in:
Nick Craig-Wood 2019-10-01 14:04:31 +01:00
parent f73dae1e77
commit def411da62
2 changed files with 3 additions and 3 deletions

View file

@ -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 }}

View file

@ -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: