Skip to content

Commit b567662

Browse files
committed
Fix twine upload command
1 parent 69ff557 commit b567662

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

squatter/templates.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import glob
12
import sys
23
from pathlib import Path
34
from subprocess import check_call, check_output
@@ -40,4 +41,4 @@ def generate(
4041

4142
def upload(self) -> None:
4243
check_call([sys.executable, "setup.py", "sdist"], cwd=self.staging_directory)
43-
# 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

Comments
 (0)