From ed2ca9f47691702e7c8348cb009af907999e7308 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 17 Dec 2019 20:06:25 -0800 Subject: [PATCH] Sign release files. --- scripts/release | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/release b/scripts/release index 0477b6b..afc99c3 100755 --- a/scripts/release +++ b/scripts/release @@ -23,10 +23,11 @@ git push github $version rm -fr dist python3 setup.py bdist_wheel python3 setup.py sdist +gpg --detach-sign --armor dist/* twine upload -r pypi dist/borgmatic-*.tar.gz twine upload -r pypi dist/borgmatic-*-py3-none-any.whl -# Set release changelogs on projects.evoworx.org and GitHub. +# Set release changelogs on projects.torsion.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 --silent --request POST \