Unverified Commit 909e7d72 authored by Yarema's avatar Yarema Committed by Shawn Webb
Browse files

Support BUILD-LATEST symlink and two syncs

(cherry picked from commit 4c72477c

)
Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent 69af3333
......@@ -36,7 +36,16 @@ publish_release() {
}
kick_publisher_tires() {
local res
[ -z "${HBSD_MIRROR_MASTER}" ] && return 0
rsync -a ${HBSD_PUBDIR}/ ${HBSD_MIRROR_MASTER}:${HBSD_MIRROR_PUBDIR}/
rsync -a ${HBSD_PUBDIR}/${HBSD_BUILDNUMBER}/ \
${HBSD_MIRROR_MASTER}:${HBSD_MIRROR_PUBDIR}/build-${HBSD_BUILDNUMBER}/
res=${?}
[ ${res} -gt 0 ] && return ${res}
rsync -a ${HBSD_PUBDIR}/BUILD-LATEST \
${HBSD_MIRROR_MASTER}:${HBSD_MIRROR_PUBDIR}/
return ${?}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment