You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/04/13 07:13:38 UTC

[buildstream-plugins] branch tristan/add-tox-release created (now a22f4cf)

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a change to branch tristan/add-tox-release
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git


      at a22f4cf  tox.ini: Added tox entrypoint for publishing releases

This branch includes the following new commits:

     new a22f4cf  tox.ini: Added tox entrypoint for publishing releases

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[buildstream-plugins] 01/01: tox.ini: Added tox entrypoint for publishing releases

Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/add-tox-release
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit a22f4cfa4d22969692e2419d7ad19373753fca77
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Wed Apr 13 16:13:04 2022 +0900

    tox.ini: Added tox entrypoint for publishing releases
---
 tox.ini | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/tox.ini b/tox.ini
index 7ed91f7..e40dc19 100644
--- a/tox.ini
+++ b/tox.ini
@@ -120,3 +120,19 @@ passenv =
     LC_ALL
 whitelist_externals =
     make
+
+
+#
+# Publish a release, make sure to update the version in setup.py first
+#
+[testenv:release]
+skip_install = true
+commands =
+    python3 setup.py sdist bdist_wheel
+    twine upload -r pypi dist/*
+deps =
+    twine
+    wheel
+passenv =
+    TWINE_USERNAME
+    TWINE_PASSWORD