From 288f72707ea8c88e7c2ab57d5d6b6d3f2d505466 Mon Sep 17 00:00:00 2001 From: Philip Makedonski Date: Wed, 10 Jan 2024 21:36:43 +0100 Subject: [PATCH] + fixes for prepare and CI scripts --- prepare.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/prepare.sh b/prepare.sh index f093b33..3c3205d 100755 --- a/prepare.sh +++ b/prepare.sh @@ -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" -- GitLab