From 2ef9a29bb710e5285b7f5d3bcac7af3f02ed9c1c Mon Sep 17 00:00:00 2001 From: DenverM80 Date: Mon, 3 Apr 2017 14:44:43 -0600 Subject: [PATCH] Print the git rev hash before running tests in docker container; update SDK version shown in setup.py --- docker/run_tests.sh | 7 +++---- setup.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docker/run_tests.sh b/docker/run_tests.sh index 39eca80..8c0e809 100755 --- a/docker/run_tests.sh +++ b/docker/run_tests.sh @@ -6,19 +6,18 @@ echo DS3_ENDPOINT ${DS3_ENDPOINT} echo DS3_SECRET_KEY ${DS3_SECRET_KEY} echo DS3_ACCESS_KEY ${DS3_ACCESS_KEY} -echo "cd /opt" +set -x + cd /opt if [ ${GIT_BRANCH} != "master" ]; then - echo git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch else - echo git clone ${GIT_REPO} git clone ${GIT_REPO} fi -echo "cd ds3_python_sdk" cd ds3_python_sdk +get rev-parse HEAD python setup.py install cd tests diff --git a/setup.py b/setup.py index d2694a9..77f3e1b 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from distutils.core import setup setup(name='DS3 SDK', - version='3.2.0', + version='3.4.1', description='Python SDK and CLI for Spectra S3', author_email='developer@spectralogic.com', packages=['ds3'])