diff --git a/.travis.yml b/.travis.yml index a1141dd..3b3afdc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 504432f..094bf94 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: