File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 85
85
/bin/bash -c " cp params.host.json params.json && make gurobi.lic && make standardize-dirs && make run-local OPTIONS=\" ${OPTIONS} \" LOG_FILE=${LOG_FILE} "
86
86
87
87
publish :
88
- NUM_FILES=` find $( USR_EXPORT_DIR) -name " * csv.gz" | wc -l` ; \
88
+ NUM_FILES=` find $( USR_EXPORT_DIR) -name " prediction*. csv.gz" | wc -l` ; \
89
89
if [[ $$ NUM_FILES -gt 0 ]]; then \
90
90
aws configure set aws_access_key_id $(AWS_KEY_ID ) ; \
91
91
aws configure set aws_secret_access_key $(AWS_SECRET_KEY ) ; \
92
- aws s3 cp $(USR_EXPORT_DIR ) $(S3_BUCKET ) / --recursive --exclude " *" --include " *.csv.gz" ; \
92
+ aws s3 cp $(USR_EXPORT_DIR ) $(S3_BUCKET ) / --recursive --exclude " *" --include " */prediction* .csv.gz" ; \
93
93
echo " SUCCESS: published $$ {NUM_FILES} files to the S3 bucket" >> $(LOG_FILE ) ; \
94
94
else \
95
95
echo " No files in $( USR_EXPORT_DIR) to publish" >> $(LOG_FILE ) ; \
You can’t perform that action at this time.
0 commit comments