From 4b323f451469b156dcc43a7f6a84f643fa65fb06 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Sun, 8 Nov 2020 19:43:42 -0500 Subject: [PATCH] cirrus: fix --- .cirrus.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7cee3ab9a4..52bacb0d5f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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" \