Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
TDL Open Source
TOP Extras
Compare revisions
f74538a65ddeaadd2565816d6d228c92b84950f8...409de42089acd220c959b6f6443059d943e84f60
Commits (2)
+ fixes for prepare and CI scripts
· 288f7270
Philip Makedonski
authored
Jan 10, 2024
288f7270
Merge branch 'dev' into 'main'
· 409de420
Philip Makedonski
authored
Jan 10, 2024
+ fixes for prepare and CI scripts See merge request
!4
409de420
Hide whitespace changes
Inline
Side-by-side
prepare.sh
View file @
409de420
...
@@ -34,8 +34,9 @@ process_contents() {
...
@@ -34,8 +34,9 @@ process_contents() {
exit
0
exit
0
fi
fi
# make parent dirs
# make parent dirs
mkdir
-p
`
dirname
"
$line
"
`
mkdir
-p
`
dirname
"
$
channel
/
$
line
"
`
# get file
# get file
echo
curl
"
$BASE_URL
/
$channel
/
$line
"
-o
"
$channel
/
$line
"
curl
"
$BASE_URL
/
$channel
/
$line
"
-o
"
$channel
/
$line
"
curl
"
$BASE_URL
/
$channel
/
$line
"
-o
"
$channel
/
$line
"
done
<
"
$file
"
done
<
"
$file
"
# update contents
# update contents
...
@@ -55,11 +56,11 @@ else
...
@@ -55,11 +56,11 @@ else
fi
fi
# Debugging
#
# Debugging
# BASE_URL="https://top.etsi.org/top-extras/updatesite"
# 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"
# SITE_PATH="updatesite/org.etsi.mts.tdl.extras.updatesite/target/repository"
# RELEASE_BASE_PATH="public/updatesite"
# RELEASE_BASE_PATH="public/updatesite"
# # process_contents beta
# update_contents "$SITE_PATH"
# update_contents "$SITE_PATH"
# process_contents "$TARGET_CHANNEL"