From 1184aef99618a7025dd5a5f958ef5e3ff5184e64 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 12 Mar 2021 11:00:19 +0000 Subject: [PATCH] add binary uploader --- bitbucket-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 47044a7..cca54cf 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -24,3 +24,4 @@ pipelines: - go version - go mod tidy - go build -a -v -o ./build/ . + - curl -X POST --user "${BITBUCKET_USERNAME}:${BITBUCKET_APP_PASSWORD}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@".build/projector"