Created
November 7, 2016 17:05
-
-
Save ampz9/398d8b6cfb5b8b785a98adfe45598832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# does not upload subdirectory within platform + "_bin" directory | |
directory_upload = steps.DirectoryUpload( | |
workersrc=platform + "_bin", | |
masterdest=util.WithProperties(masterdest_url, "date", "got_revision"), | |
description="uploading directory", | |
workdir=working_dir, descriptionDone="directory uploaded", | |
url=util.WithProperties(url, "date", "got_revision"), alwaysRun=True) | |
# it uploads subdirectory within platform + "_bin" directory | |
workersrcs = [] | |
workersrcs.append(platform + "_bin") | |
directory_upload = steps.MultipleFileUpload( | |
workersrcs=workersrcs, | |
masterdest=util.WithProperties(masterdest_url, "date", "got_revision"), | |
description="uploading directory", | |
workdir=working_dir, descriptionDone="directory uploaded", | |
url=url, alwaysRun=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment