1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

Fix release scripts to point to the right artifacts.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera
2016-02-29 14:09:45 -05:00
parent 7fc4f57ffa
commit 435c38474f
2 changed files with 5 additions and 7 deletions
+1 -2
View File
@@ -15,8 +15,7 @@
before_deploy:
- mkdir bin
- go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
- cd bin
- tar czf ../docker-credential-osxkeychain-${TRAVIS_TAG}-amd64.tar.gz docker-credential-osxkeychain
- cd bin && tar czf ../docker-credential-osxkeychain-${TRAVIS_TAG}-amd64.tar.gz docker-credential-osxkeychain
deploy:
provider: releases
+4 -5
View File
@@ -45,17 +45,16 @@ after_test:
- mkdir bin
- go build -o bin/docker-credential-wincred wincred/cmd/main_windows.go
# build zipfile, will look like docker-credential-wincred-v0.1.0-amd64.zip in the root directory
- cd bin
- 7z a ../docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip docker-credential-wincred
- cd bin && 7z a ../docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip docker-credential-wincred
# IMPORTANT All the artifacts need to be listed here, or they won't be uploaded to GitHub
artifacts:
- path: docker-credential-wincred-$(APPVEYOR_REPO_TAG_NAME)-$(GOARCH).zip
name: docker-credential-wincred-$(APPVEYOR_REPO_TAG_NAME)-$(GOARCH).zip
- path: docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip
name: docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip
type: zip
deploy:
description: 'Windows release'
description: "Credential helpers release %APPVEYOR_REPO_TAG_NAME%"
# All the zipped artifacts will be deployed
artifact: /.*\.zip/
auth_token: