diff --git a/ci/imgtool_install.sh b/ci/imgtool_install.sh index 389c3696..091cfa74 100755 --- a/ci/imgtool_install.sh +++ b/ci/imgtool_install.sh @@ -19,5 +19,5 @@ if [[ $TRAVIS == "true" ]]; then fi fi -pip3 install setuptools twine packaging wheel -pip3 install --pre imgtool --no-binary :all: +pip install setuptools twine packaging wheel +pip install --pre imgtool diff --git a/ci/imgtool_run.sh b/ci/imgtool_run.sh index 20b5420d..7358706a 100755 --- a/ci/imgtool_run.sh +++ b/ci/imgtool_run.sh @@ -30,10 +30,10 @@ fi cd scripts/ -last_release=$(pip3 show imgtool | grep "Version: " | cut -d" " -f2) +last_release=$(pip show imgtool | grep "Version: " | cut -d" " -f2) repo_version=$(grep "imgtool_version = " imgtool/__init__.py | sed 's/^.* = "\(.*\)"/\1/g') -python3 ../ci/compare_versions.py --old $last_release --new $repo_version +python ../ci/compare_versions.py --old $last_release --new $repo_version rc=$? if [[ $rc -eq 0 ]]; then @@ -48,6 +48,6 @@ elif [[ $rc -eq 3 ]]; then fi rm -rf $DIST_DIR -python3 setup.py sdist bdist_wheel +python setup.py sdist bdist_wheel twine upload --username __token__ --password "${TWINE_TOKEN}" "${DIST_DIR}/*"