From 1697d8aaef4a17aee5f3a74dad167209123e0b8d Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 15 Oct 2018 22:32:13 -0700 Subject: [PATCH] Silence curl when posting release description to Gitea. --- scripts/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release b/scripts/release index 09556c7..0477b6b 100755 --- a/scripts/release +++ b/scripts/release @@ -29,7 +29,7 @@ twine upload -r pypi dist/borgmatic-*-py3-none-any.whl # Set release changelogs on projects.evoworx.org and GitHub. release_changelog="$(cat NEWS | sed '/^$/q' | grep -v '^\S')" escaped_release_changelog="$(echo "$release_changelog" | sed -z 's/\n/\\n/g' | sed -z 's/\"/\\"/g')" -curl --request POST \ +curl --silent --request POST \ "https://projects.torsion.org/api/v1/repos/witten/borgmatic/releases?access_token=$projects_token" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \