From 00c8b76fe0a043e53503a0a5ad8dbdb057726ce9 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 19 Mar 2021 09:08:01 +0000 Subject: [PATCH] add buildpath to the downloader --- bitbucket-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index fb6531a..b3ac0c4 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,6 +11,7 @@ pipelines: - go test -v - mkdir build # go build -o build/gostations github.com/gmgauthier/gostations + - echo "Building for $(uname)" - ./build.sh - export BUILDPATH="build/$(uname)/gostations" - 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=@"${BUILDPATH}"