Skip to content

Commit 8ac71d7

Browse files
committed
sh(patch): Remove repository reference and fix upgrade and index options
1 parent a5a3dd7 commit 8ac71d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sh/build.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ set -e # Exit immediately if a command exits with a non-zero status
77
echo "Building the package..."
88
poetry build
99
echo "Publishing to TestPyPI..."
10-
poetry publish --build --repository pypi
10+
poetry publish --build
1111
echo "Installing from PyPI..."
12-
pip install jsonpycraft
12+
pip install -U jsonpycraft

sh/test_build.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ poetry build
99
echo "Publishing to TestPyPI..."
1010
poetry publish --build --repository testpypi
1111
echo "Installing from TestPyPI..."
12-
pip install --index-url https://test.pypi.org/simple/ jsonpycraft
12+
pip install -U -i https://test.pypi.org/simple/ jsonpycraft

0 commit comments

Comments
 (0)