Sign release files.
This commit is contained in:
parent
f787dfe809
commit
ed2ca9f476
1 changed files with 2 additions and 1 deletions
|
@ -23,10 +23,11 @@ git push github $version
|
||||||
rm -fr dist
|
rm -fr dist
|
||||||
python3 setup.py bdist_wheel
|
python3 setup.py bdist_wheel
|
||||||
python3 setup.py sdist
|
python3 setup.py sdist
|
||||||
|
gpg --detach-sign --armor dist/*
|
||||||
twine upload -r pypi dist/borgmatic-*.tar.gz
|
twine upload -r pypi dist/borgmatic-*.tar.gz
|
||||||
twine upload -r pypi dist/borgmatic-*-py3-none-any.whl
|
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')"
|
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')"
|
escaped_release_changelog="$(echo "$release_changelog" | sed -z 's/\n/\\n/g' | sed -z 's/\"/\\"/g')"
|
||||||
curl --silent --request POST \
|
curl --silent --request POST \
|
||||||
|
|
Loading…
Reference in a new issue