We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ff557 commit b567662Copy full SHA for b567662
squatter/templates.py
@@ -1,3 +1,4 @@
1
+import glob
2
import sys
3
from pathlib import Path
4
from subprocess import check_call, check_output
@@ -40,4 +41,4 @@ def generate(
40
41
42
def upload(self) -> None:
43
check_call([sys.executable, "setup.py", "sdist"], cwd=self.staging_directory)
- # check_call(["twine", "upload"], cwd=self.staging_directory)
44
+ check_call(["twine", "upload"] + glob.glob(f"{self.staging_directory}/dist/*.tar.gz"), cwd=self.staging_directory)
0 commit comments