This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts.
commit 692f74ec4cc5c02aaa10962928ffd0dbefb0e543 Author: Mihai Moldovan <io...@ionic.de> Date: Fri Apr 7 13:28:21 2017 +0200 bin/build-osx-package: clear out packages on the remote server in smart way to force checksum re-generation. --- bin/build-osx-package | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/build-osx-package b/bin/build-osx-package index 237d74c..483bdb7 100755 --- a/bin/build-osx-package +++ b/bin/build-osx-package @@ -308,6 +308,15 @@ upload_packages() { cd "${PKGDIST}/${l_CODENAME}/" 0</dev/null ssh -- "${REPOS_SERVER}" "mkdir -p '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}'" + # Delete files so that checksums are always regenerated. + if [ "${is_release}" -eq "0" ]; then + # Nightly builds are tracked by date and gitrev, so that multiple packages are possible per day if the repository changes between builds. + 0</dev/null ssh -- "${REPOS_SERVER}" "rm -rf -- '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/'*${DATE}.${gitrev}*" + else + # Releases are tracked by date, so that only one specific build per day is available. + 0</dev/null ssh -- "${REPOS_SERVER}" "rm -rf -- '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/'*${DATE}*" + fi + # Remove packages that are older than 30 days, if building nightlies. [ "${COMPONENT}" = "${COMPONENT_NIGHTLY}" ] && 0</dev/null ssh -- "${REPOS_SERVER}" "find '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/' -mtime +30 -name '*.dmg' -exec rm -f '{}' ';'" || true -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git _______________________________________________ x2go-commits mailing list x2go-commits@lists.x2go.org http://lists.x2go.org/listinfo/x2go-commits