From 21076f0be343372341d7e6e12431748a75ad6b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 22 Nov 2022 12:45:42 +0100 Subject: [PATCH] Also publish source package on pypi --- c2cciutils/publish.py | 1 + 1 file changed, 1 insertion(+) diff --git a/c2cciutils/publish.py b/c2cciutils/publish.py index 07712035f..ad09b93f9 100644 --- a/c2cciutils/publish.py +++ b/c2cciutils/publish.py @@ -307,6 +307,7 @@ def pip( cmd = ["twine"] cmd += ["upload", "--verbose", "--disable-progress-bar"] if publish else ["check"] cmd += glob.glob(os.path.join(cwd, "dist/*.whl")) + cmd += glob.glob(os.path.join(cwd, "dist/*.tar.gz")) subprocess.check_call(cmd) print("::endgroup::") except subprocess.CalledProcessError as exception: