From 585d7b029d8362b1260100da1e182a21d1bacb8c Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 20 Nov 2023 02:17:06 -0700 Subject: [PATCH] automation fixes --- .gitignore | 1 + Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 40b1649c..d2924d40 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ docs/_build .tox venv/ venv_tox_*/ +PRIVATE* \ No newline at end of file diff --git a/Makefile b/Makefile index b9dd5059..c7ec322c 100644 --- a/Makefile +++ b/Makefile @@ -119,12 +119,12 @@ dist/txtorcon-${VERSION}.tar.gz.asc: dist/txtorcon-${VERSION}.tar.gz gpg --verify dist/txtorcon-${VERSION}.tar.gz.asc || gpg --pinentry loopback --no-version --detach-sign --armor --local-user meejah@meejah.ca dist/txtorcon-${VERSION}.tar.gz release: - twine upload -r pypi -c "txtorcon v${VERSION} tarball" dist/txtorcon-${VERSION}.tar.gz dist/txtorcon-${VERSION}.tar.gz.asc - twine upload -r pypi -c "txtorcon v${VERSION} wheel" dist/txtorcon-${VERSION}-py3-none-any.whl dist/txtorcon-${VERSION}-py3-none-any.whl.asc + twine upload --username __token__ --password `cat PRIVATE-release-token` -r pypi -c "txtorcon v${VERSION} tarball" dist/txtorcon-${VERSION}.tar.gz dist/txtorcon-${VERSION}.tar.gz.asc + twine upload --username __token__ --password `cat PRIVATE-release-token` -r pypi -c "txtorcon v${VERSION} wheel" dist/txtorcon-${VERSION}-py3-none-any.whl dist/txtorcon-${VERSION}-py3-none-any.whl.asc venv: - virtualenv venv + python -m venv venv ./venv/bin/pip install -r requirements.txt ./venv/bin/pip install -r dev-requirements.txt @echo "created venv"