Commit 288f7270 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ fixes for prepare and CI scripts

parent bf485778
Loading
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -34,8 +34,9 @@ process_contents() {
            exit 0
        fi        
        # make parent dirs
        mkdir -p `dirname "$line"`
        mkdir -p `dirname "$channel/$line"`
        # get file
        echo curl "$BASE_URL/$channel/$line" -o "$channel/$line"
        curl "$BASE_URL/$channel/$line" -o "$channel/$line"
    done < "$file"
    # update contents
@@ -55,11 +56,11 @@ else
fi


# Debugging
# # Debugging
# BASE_URL="https://top.etsi.org/top-extras/updatesite"
# TARGET_CHANNEL="beta"
# TARGET_CHANNEL="stable"
# SITE_PATH="updatesite/org.etsi.mts.tdl.extras.updatesite/target/repository"
# RELEASE_BASE_PATH="public/updatesite"

# # process_contents beta
# update_contents "$SITE_PATH"
# process_contents "$TARGET_CHANNEL"