Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <silbe@buildslave-debian-squeeze-32bit.sugarlabs.org>2010-07-14 16:16:01 (GMT)
committer Sascha Silbe <silbe@buildslave-debian-squeeze-32bit.sugarlabs.org>2010-07-14 16:18:55 (GMT)
commitb9fb06887644abbf5a3bc8fd3251e1919dc56145 (patch)
tree25756ba67b27a68ed6b973880d0c103b5bb32896
parent2ac05fdf0b8b95f1c6724f47572a12a446b95476 (diff)
skip build if there are no source changes
-rwxr-xr-xbuild-snapshots4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-snapshots b/build-snapshots
index 756dd50..add057c 100755
--- a/build-snapshots
+++ b/build-snapshots
@@ -10,6 +10,10 @@ repo_update() {
git checkout upstream
git merge upstream/master
git checkout master
+ if [ -z "$(git log master..upstream)" ] ; then
+ echo 'No source changes => skipping build'
+ return 1
+ fi
git tag -f pre-merge master
git merge upstream
}