From 91de817e5ac0a145146a4228b6333e57da7f7eb8 Mon Sep 17 00:00:00 2001 From: aboyko Date: Mon, 21 Apr 2025 13:19:02 -0400 Subject: [PATCH] Include new orbit for e436 aggregate update site --- .github/scripts/generate-composite-site-files.sh | 12 +++++------- .github/workflows/aggregate-distro-update-sites.yml | 6 +----- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/scripts/generate-composite-site-files.sh b/.github/scripts/generate-composite-site-files.sh index ea66e532c..206de90d6 100755 --- a/.github/scripts/generate-composite-site-files.sh +++ b/.github/scripts/generate-composite-site-files.sh @@ -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 " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml -if [ "${justj21}" = true ] ; then +if [[ ${eversion} == "e4.36" ]]; then echo " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml - echo " " >> compositeArtifacts.xml + echo " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml else echo " " >> compositeArtifacts.xml @@ -34,10 +32,10 @@ echo " type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMet echo " " >> compositeContent.xml echo " " >> compositeContent.xml echo " " >> compositeContent.xml -if [ "${justj21}" = true ] ; then +if [[ ${eversion} == "e4.36" ]]; then echo " " >> compositeContent.xml echo " " >> compositeContent.xml - echo " " >> compositeContent.xml + echo " " >> compositeContent.xml echo " " >> compositeContent.xml else echo " " >> compositeContent.xml diff --git a/.github/workflows/aggregate-distro-update-sites.yml b/.github/workflows/aggregate-distro-update-sites.yml index e9c4ef13a..2b3ed2262 100644 --- a/.github/workflows/aggregate-distro-update-sites.yml +++ b/.github/workflows/aggregate-distro-update-sites.yml @@ -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