Skip to content

Commit 12ae730

Browse files
committed
Update release script.
1 parent 86d1555 commit 12ae730

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

release.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"""A script to publish a release of pgcli to PyPI."""
33

44
import io
5-
from optparse import OptionParser
65
import re
76
import subprocess
87
import sys
8+
from optparse import OptionParser
99

1010
import click
1111

@@ -66,7 +66,8 @@ def create_git_tag(tag_name):
6666

6767

6868
def create_distribution_files():
69-
run_step("python", "setup.py", "clean", "--all", "sdist", "bdist_wheel")
69+
run_step("rm", "-rf", "dist/")
70+
run_step("python", "-m", "build")
7071

7172

7273
def upload_distribution_files():
@@ -91,11 +92,11 @@ def checklist(questions):
9192
if DEBUG:
9293
subprocess.check_output = lambda x: x
9394

94-
checks = [
95-
"Have you updated the AUTHORS file?",
96-
"Have you updated the `Usage` section of the README?",
97-
]
98-
checklist(checks)
95+
# checks = [
96+
# "Have you updated the AUTHORS file?",
97+
# "Have you updated the `Usage` section of the README?",
98+
# ]
99+
# checklist(checks)
99100

100101
ver = version("pgcli/__init__.py")
101102
print("Releasing Version:", ver)

0 commit comments

Comments
 (0)