From 5b3cfc542d61d873f696a969ff87220ec744ef47 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 14 Mar 2022 14:00:03 -0700 Subject: [PATCH] Switch to PyPI API token. --- scripts/release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release b/scripts/release index b901047..4a70143 100755 --- a/scripts/release +++ b/scripts/release @@ -31,8 +31,8 @@ python3 setup.py bdist_wheel python3 setup.py sdist gpg --detach-sign --armor dist/borgmatic-*.tar.gz gpg --detach-sign --armor dist/borgmatic-*-py3-none-any.whl -twine upload -r pypi dist/borgmatic-*.tar.gz dist/borgmatic-*.tar.gz.asc -twine upload -r pypi dist/borgmatic-*-py3-none-any.whl dist/borgmatic-*-py3-none-any.whl.asc +twine upload -r pypi --username __token__ dist/borgmatic-*.tar.gz dist/borgmatic-*.tar.gz.asc +twine upload -r pypi --username __token__ dist/borgmatic-*-py3-none-any.whl dist/borgmatic-*-py3-none-any.whl.asc # Set release changelogs on projects.torsion.org and GitHub. release_changelog="$(cat NEWS | sed '/^$/q' | grep -v '^\S')"