diff --git a/prepare.sh b/prepare.sh index 44864c77a19b0bfa1cfcb3417d15c0d31c9e1b1f..f093b33c4976754f58c8332a32e514865deb03a0 100755 --- a/prepare.sh +++ b/prepare.sh @@ -37,8 +37,8 @@ process_contents() { mkdir -p `dirname "$line"` # get file curl "$BASE_URL/$channel/$line" -o "$channel/$line" - # update contents done < "$file" + # update contents update_contents $channel mkdir -p $RELEASE_BASE_PATH/$channel cp -r -f $channel/* $RELEASE_BASE_PATH/$channel @@ -49,7 +49,7 @@ update_contents "$SITE_PATH" # process opposite channel if [ "$TARGET_CHANNEL" == "beta" ]; then - process_contents "main" + process_contents "stable" else process_contents "beta" fi