This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git


The following commit(s) were added to refs/heads/master by this push:
     new e958daf  SLING-8307 - Update the Eclipse tooling release process after 
the restructuring and code signing changes (#9)
e958daf is described below

commit e958daf25870f574c7eb83aadc1de00d3fb81e8f
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Sep 22 12:12:22 2025 +0200

    SLING-8307 - Update the Eclipse tooling release process after the 
restructuring and code signing changes (#9)
    
    Add support for validating Eclipse release candidates
---
 check_staged_release.sh | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/check_staged_release.sh b/check_staged_release.sh
index 9cb4977..d4a6daf 100755
--- a/check_staged_release.sh
+++ b/check_staged_release.sh
@@ -4,6 +4,16 @@ STAGING=${1}
 DOWNLOAD=${2:-/tmp/sling-staging}
 mkdir ${DOWNLOAD} 2>/dev/null
 
+# Check if this is an Eclipse release and set repository URL accordingly
+if echo "${STAGING}" | grep -q "^eclipse-"; then
+    ECLIPSE_VERSION=$(echo "${STAGING}" | sed 's/^eclipse-//')
+    
REPO_URL="https://dist.apache.org/repos/dist/dev/sling/ide-tooling/${ECLIPSE_VERSION}/";
+    CUT_DIRS=4
+else
+    
REPO_URL="https://repository.apache.org/content/repositories/orgapachesling-${STAGING}/org/apache/sling/";
+    CUT_DIRS=3
+fi
+
 if [ -z "${STAGING}" -o ! -d "${DOWNLOAD}" ]
 then
  echo "Usage: check_staged_release.sh <staging-number> [temp-directory]"
@@ -17,8 +27,8 @@ then
  echo 
"################################################################################"
 
  wget -e "robots=off" --wait 1 -nv -r -np "--reject=html,index.html.tmp" 
"--follow-tags=" \
-  -P "${DOWNLOAD}/${STAGING}" -nH "--cut-dirs=3" \
-  
"https://repository.apache.org/content/repositories/orgapachesling-${STAGING}/org/apache/sling/";
+  -P "${DOWNLOAD}/${STAGING}" -nH "--cut-dirs=${CUT_DIRS}" \
+  "${REPO_URL}"
 
 else
  echo 
"################################################################################"

Reply via email to