Skip to content

Commit

Permalink
cirrus: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Nov 9, 2020
1 parent abf063d commit 4b323f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ build_task:
bin_name=postgrest-$CIRRUS_TAG-freebsd.tar.xz
fi
echo "Uploading $bin_name to gh release: $CIRRUS_RELEASE"
tar cJf $bin_name -C /.cabal/bin postgrest
## The CIRRUS_RELEASE env var is not the same as the tag. It's an id for the release.
## Check https://cirrus-ci.org/guide/writing-tasks/#environment-variables
## We don't use ghr here because currently it doesn't provide freebsd binaries: https://github.com/tcnksm/ghr/issues/127
## We don't use ghr here because it doesn't provide freebsd binaries: https://github.com/tcnksm/ghr/issues/127
curl -X POST --data-binary @$bin_name \
-H "Authorization:token $TOKEN" \
-H "Content-Type:application/octet-stream" \
Expand Down

0 comments on commit 4b323f4

Please sign in to comment.