Skip to content

Commit

Permalink
[Releng] Fix for promotion script
Browse files Browse the repository at this point in the history
Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Leif Geiger <leif.geiger@yatta.de>
  • Loading branch information
l3-g5 committed Jan 8, 2021
1 parent 787e052 commit 1eeb7c7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -6,6 +6,7 @@ PUBLISH_BASE=/home/data/httpd/download.eclipse.org/mpc/httpclient
PROMOTE_BASE=$PUBLISH_BASE/.promote
SITE_ID=org.eclipse.epp.mpc.apache.httpclient.site
DIST_NAME=mpc.apache.httpclient
TARGET_SITE=artifact/httpclient-target-site

do_promote() {
DIST=$1
Expand Down Expand Up @@ -123,7 +124,7 @@ download_build_archive() {
;;
esac
test -s "$TARGET_PATH" && echo "$TARGET_PATH already exists" && return 0
curl -o "$TARGET_PATH" "${PROMOTED_URL}/artifact/${ARCHIVE_PATH}"
curl -o "$TARGET_PATH" "${PROMOTED_URL}/$TARGET_SITE/${ARCHIVE_PATH}"
}

download_promote_package() {
Expand Down

0 comments on commit 1eeb7c7

Please sign in to comment.