Skip to content

Commit

Permalink
Fixed upload issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wrighbr committed Jan 17, 2020
1 parent 5bd44d4 commit 17fef11
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
- image: circleci/golang:1.13
steps:
- checkout
- run:
name: update n upgrade
command: |
sudo apt update
sudo apt upgrade -y
- run: go get -v ./...
- run:
name: Build terraform provider for multiple platforms
Expand Down Expand Up @@ -66,7 +71,7 @@ jobs:
do
GH_ASSET="https://uploads.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/releases/$id/assets?name=$(basename $f)"

curl --data-binary $f -H "authorization: Basic $GH_TOKEN" -H "Content-Type: application/octet-stream" $GH_ASSET | jq
curl --data-binary @"$f" -H "authorization: Basic $GH_TOKEN" -H "Content-Type: application/octet-stream" $GH_ASSET | jq
done

workflows:
Expand Down

0 comments on commit 17fef11

Please sign in to comment.