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

radu 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 1c7506d  Corrected typo in commit message in  update_dist.sh
1c7506d is described below

commit 1c7506d24af65299af81c433243ea94c1292d163
Author: Radu Cotescu <r...@apache.org>
AuthorDate: Thu May 8 10:35:34 2025 +0200

    Corrected typo in commit message in  update_dist.sh
---
 update_dist.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/update_dist.sh b/update_dist.sh
index 8005e01..ef2ab3c 100755
--- a/update_dist.sh
+++ b/update_dist.sh
@@ -41,14 +41,14 @@ else
     done
     pushd apache-dist > /dev/null
     echo "Importing ${ARTIFACT_ID}-${NEW_VERSION} to Apache dist"
-    svn import -m "Release ${ARTIFACT}-${NEW_VERSION}" . 
https://dist.apache.org/repos/dist/release/sling
+    svn import -m "Release ${ARTIFACT_ID}-${NEW_VERSION}" . 
https://dist.apache.org/repos/dist/release/sling
     echo "Preparing to remove previous version ${ARTIFACT_ID}-${OLD_VERSION}"
     OLD_ARTIFACTS=$(svn ls https://dist.apache.org/repos/dist/release/sling/ | 
grep "${ARTIFACT_ID}-${OLD_VERSION}" | while read line; do echo 
"https://dist.apache.org/repos/dist/release/sling/$line";; done)
     if [[ -z "${OLD_ARTIFACTS}" ]]; then
         echo "Error: No ${ARTIFACT_ID}-${OLD_VERSION} files found in Apache 
dist"
         exit 1
     else
-        svn delete -m "Remove old version ${ARTIFACT}-${OLD_VERSION}" 
${OLD_ARTIFACTS}
+        svn delete -m "Remove old version ${ARTIFACT_ID}-${OLD_VERSION}" 
${OLD_ARTIFACTS}
     fi
     popd > /dev/null
 fi

Reply via email to