From 370876db38939ad6159588d71b3d8245a1a01d86 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Thu, 18 Mar 2021 18:42:35 +0000 Subject: [PATCH] add binary download to the downloads page --- bitbucket-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 69abeb9..01c3c2b 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,6 +11,8 @@ pipelines: - go test -v - mkdir build - go build -o build/gostations github.com/gmgauthier/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=@"./build/gostations" + - step: name: Lint code image: golangci/golangci-lint:v1.31.0