Skip to content

Commit f60b9aa

Browse files
authored
Fix deployment script that broke in new docker image (#40)
1 parent 44a67bc commit f60b9aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

continuous-delivery/test_version_exists

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ if [ "$CURRENT_TAG" != "$CURRENT_TAG_VERSION" ]; then
1313
exit 1
1414
fi
1515

16-
SETUP_PY_VERSION=$(python setup.py --version)
16+
SETUP_PY_VERSION=$(python3 setup.py --version)
1717
if [ "$CURRENT_TAG_VERSION" != "$SETUP_PY_VERSION" ]; then
1818
echo "Current tag version does not match version in setup.py: $CURRENT_TAG_VERSION != $SETUP_PY_VERSION"
1919
exit 1
2020
fi
2121

22-
if pip install --no-cache-dir -vvv awsiotsdk==$CURRENT_TAG_VERSION; then
22+
if python3 -m pip install --no-cache-dir -vvv awsiotsdk==$CURRENT_TAG_VERSION; then
2323
echo "$CURRENT_TAG_VERSION is already in pypi, cut a new tag if you want to upload another version."
2424
exit 1
2525
fi

0 commit comments

Comments
 (0)