Skip to content

Commit

Permalink
Fix run.sh for creating evaluation script zip file(Cloud-CV#48)
Browse files Browse the repository at this point in the history
Context: 

Currently, the challenge creation using `challenge_config.zip` requires the `evaluation_script.zip` to be without the outer-level directory. This PR fixes it.
  • Loading branch information
yashkant authored Mar 7, 2021
1 parent 93b1072 commit b37b44f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ rm evaluation_script.zip
rm challenge_config.zip

# Create new zip configuration according the updated code
zip -r -j evaluation_script.zip evaluation_script/* -x "*.DS_Store"
cd evaluation_script
zip -r ../evaluation_script.zip * -x "*.DS_Store"
cd ..
zip -r challenge_config.zip * -x "*.DS_Store" -x "evaluation_script/*" -x "*.git" -x "run.sh" -x "code_upload_challenge_evaluation/*" -x "remote_challenge_evaluation/*" -x "worker/*" -x "challenge_data/*" -x "github/*" -x ".github/*" -x "README.md"

0 comments on commit b37b44f

Please sign in to comment.