Skip to content

Commit 4924142

Browse files
committed
fix publishing
1 parent 2424c7b commit 4924142

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

publish.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rm -rf dist/ build/ *.egg-info
1313

1414
# Build the package
1515
echo "Building the package..."
16-
python3 -m pip install --upgrade build twine
16+
#python3 -m pip install --upgrade build twine
1717
python3 -m build
1818

1919
# Check the package
@@ -22,11 +22,13 @@ python3 -m twine check dist/*
2222

2323
echo ""
2424
echo "Package built successfully!"
25-
echo "To publish to PyPI, run:"
26-
echo " python3 -m twine upload dist/*"
2725
echo ""
28-
echo "Or to test on TestPyPI first:"
29-
echo " python3 -m twine upload --repository testpypi dist/*"
26+
27+
# Publish to PyPI
28+
echo "Publishing to PyPI..."
29+
python3 -m twine upload dist/*
30+
3031
echo ""
31-
echo "Users can then install it with:"
32+
echo "✓ Published to PyPI!"
33+
echo "Users can install it with:"
3234
echo " pip install fastcomments"

0 commit comments

Comments
 (0)