Merge "run-wheel.sh: only run wheel for Python projects"

This commit is contained in:
Jenkins 2016-04-15 19:43:17 +00:00 committed by Gerrit Code Review
commit e3f67080f7

View File

@ -14,6 +14,13 @@
# License for the specific language governing permissions and limitations
# under the License.
# metadata.json is a file present in Puppet modules but not in Python projects.
# Based on this information, we'll run wheel only on Python projects.
# This conditionnal allows to run tarball JJB macro for both types of projects.
if [ -r metadata.json ]; then
exit 0
fi
venv=${1:-venv}
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt