Skip to content

Commit

Permalink
Merge pull request #755 from vkarak/ci/update-deployment-script
Browse files Browse the repository at this point in the history
[ci] Update deployment script
  • Loading branch information
vkarak committed Apr 12, 2019
2 parents b18cb96 + 4d6971f commit 47ba2c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci-scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ if [ -z $version ]; then
fi

py_minor_version=$(python3 -c 'import sys; print(sys.version_info.minor)')
if [ $py_minor_version -ne 5 ]; then
echo "$0: deployment script requires Python 3.5" >&2
if [ $py_minor_version -lt 5 ]; then
echo "$0: deployment script requires Python>=3.5" >&2
exit 1
fi


tmpdir=$(mktemp -d)
echo "Deploying ReFrame version $version ..."
echo "Working directory: $tmpdir ..."
Expand Down

0 comments on commit 47ba2c4

Please sign in to comment.