mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-14 08:21: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:
|
before_deploy:
|
||||||
- mkdir bin
|
- mkdir bin
|
||||||
- go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
|
- go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
|
||||||
- cd bin
|
- cd bin && tar czf ../docker-credential-osxkeychain-${TRAVIS_TAG}-amd64.tar.gz docker-credential-osxkeychain
|
||||||
- tar czf ../docker-credential-osxkeychain-${TRAVIS_TAG}-amd64.tar.gz docker-credential-osxkeychain
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
|||||||
+4
-5
@@ -45,17 +45,16 @@ after_test:
|
|||||||
- mkdir bin
|
- mkdir bin
|
||||||
- go build -o bin/docker-credential-wincred wincred/cmd/main_windows.go
|
- 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
|
# build zipfile, will look like docker-credential-wincred-v0.1.0-amd64.zip in the root directory
|
||||||
- cd bin
|
- cd bin && 7z a ../docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip docker-credential-wincred
|
||||||
- 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
|
# IMPORTANT All the artifacts need to be listed here, or they won't be uploaded to GitHub
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: 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
|
name: docker-credential-wincred-%APPVEYOR_REPO_TAG_NAME%-%GOARCH%.zip
|
||||||
type: zip
|
type: zip
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
description: 'Windows release'
|
description: "Credential helpers release %APPVEYOR_REPO_TAG_NAME%"
|
||||||
# All the zipped artifacts will be deployed
|
# All the zipped artifacts will be deployed
|
||||||
artifact: /.*\.zip/
|
artifact: /.*\.zip/
|
||||||
auth_token:
|
auth_token:
|
||||||
|
|||||||
Reference in New Issue
Block a user