diff --git a/scripts/pull-packages.sh b/scripts/pull-packages.sh index f62e0bb4..f13750ee 100755 --- a/scripts/pull-packages.sh +++ b/scripts/pull-packages.sh @@ -55,4 +55,4 @@ docker run --rm \ -u $(id -u):$(id -g) \ --entrypoint="bash" \ ${IMAGE} \ - -c "cp -R /artifacts/packages/* ${DIST_DIR}" + -c "cp --preserve=timestamps -R /artifacts/* ${DIST_DIR}" diff --git a/scripts/release-packages.sh b/scripts/release-packages.sh index c82e6a5f..ea0ebb23 100755 --- a/scripts/release-packages.sh +++ b/scripts/release-packages.sh @@ -189,7 +189,7 @@ git -C ${PACKAGE_REPO_ROOT} reset --hard ${UPSTREAM_REFERENCE} git -C ${PACKAGE_REPO_ROOT} clean -fdx ${REPO} for target in ${targets[@]}; do - sync ${target} ${PACKAGE_CACHE} ${PACKAGE_REPO_ROOT}/${REPO} + sync ${target} ${PACKAGE_CACHE}/packages ${PACKAGE_REPO_ROOT}/${REPO} done git -C ${PACKAGE_REPO_ROOT} add ${REPO}