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:
+1
-2
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user