[X2Go-Commits] [buildscripts] 02/02: bin/build-osx-package: restrict package deletion to the builder's version.
git-admin at x2go.org
git-admin at x2go.org
Fri Apr 7 13:45:39 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 24629a5433f5e17abca90db03c361ee6a8287c5d
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Apr 7 13:45:34 2017 +0200
bin/build-osx-package: restrict package deletion to the builder's version.
---
bin/build-osx-package | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/build-osx-package b/bin/build-osx-package
index 9d9516b..c904f32 100755
--- a/bin/build-osx-package
+++ b/bin/build-osx-package
@@ -313,10 +313,10 @@ upload_packages() {
# 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}*"
+ 0</dev/null ssh -- "${REPOS_SERVER}" "rm -rf -- '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/'*${DATE}.${gitrev}*OSX_${os_major}_${os_minor}*"
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}*"
+ 0</dev/null ssh -- "${REPOS_SERVER}" "rm -rf -- '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/'*${DATE}*OSX_${os_major}_${os_minor}*"
fi
# Remove packages that are older than 30 days, if building nightlies.
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list