diff options
Diffstat (limited to '.travis/after_script')
-rwxr-xr-x | .travis/after_script | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.travis/after_script b/.travis/after_script index 006ff7849..2a8b2268d 100755 --- a/.travis/after_script +++ b/.travis/after_script @@ -1,16 +1,12 @@ #!/usr/bin/env python -import hashlib import os import site -import subprocess import sys import tarfile +from utils import get_bundle_filename -root = os.path.join(os.path.dirname(__file__), '..') -with open(os.path.join(root, 'cpanfile.snapshot')) as cpanfile: - hash = hashlib.md5(cpanfile.read()).hexdigest() -wanted_filename = 'fixmystreet-local-%s.tgz' % hash +wanted_filename = get_bundle_filename() if os.path.exists(wanted_filename) and os.path.getsize(wanted_filename): print "File was downloaded, no need to upload" |