Include new orbit for e436 aggregate update site

This commit is contained in:
aboyko
2025-04-21 13:19:02 -04:00
parent ee1fc74e10
commit 91de817e5a
2 changed files with 6 additions and 12 deletions

View File

@@ -1,8 +1,6 @@
val=$1
url=$2
justj21=$3
echo "Include JustJ bit: ${justj21}"
eversion=$3
rm -f ./compositeArtifacts.xml
rm -f ./compositeContent.xml
@@ -15,10 +13,10 @@ echo " type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArt
echo " <properties size='1'>" >> compositeArtifacts.xml
echo " <property name='p2.timestamp' value='${val}'/>" >> compositeArtifacts.xml
echo " </properties>" >> compositeArtifacts.xml
if [ "${justj21}" = true ] ; then
if [[ ${eversion} == "e4.36" ]]; then
echo " <children size='2'>" >> compositeArtifacts.xml
echo " <child location='${url}'/>" >> compositeArtifacts.xml
echo " <child location='https://download.eclipse.org/justj/jres/21/updates/release/latest/'/>" >> compositeArtifacts.xml
echo " <child location='https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2025-06/'/>" >> compositeArtifacts.xml
echo " </children>" >> compositeArtifacts.xml
else
echo " <children size='1'>" >> compositeArtifacts.xml
@@ -34,10 +32,10 @@ echo " type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMet
echo " <properties size='1'>" >> compositeContent.xml
echo " <property name='p2.timestamp' value='${val}'/>" >> compositeContent.xml
echo " </properties>" >> compositeContent.xml
if [ "${justj21}" = true ] ; then
if [[ ${eversion} == "e4.36" ]]; then
echo " <children size='2'>" >> compositeContent.xml
echo " <child location='${url}'/>" >> compositeContent.xml
echo " <child location='https://download.eclipse.org/justj/jres/21/updates/release/latest/'/>" >> compositeContent.xml
echo " <child location='https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2025-06/'/>" >> compositeContent.xml
echo " </children>" >> compositeContent.xml
else
echo " <children size='1'>" >> compositeContent.xml

View File

@@ -61,11 +61,7 @@ jobs:
echo "Found ${dir}"
dir_name=${dir:0:-1}
site_url="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts4/update/${{ inputs.version }}/${dir_name}"
if [[ ${dir_name} == "e4.30" ]]; then
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url
else
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url true
fi
${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url $dir_name
cat ./compositeArtifacts.xml
cat ./compositeContent.xml
if [[ ${dir_name} == ${{ inputs.latest }} ]]; then