From b9fb06887644abbf5a3bc8fd3251e1919dc56145 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Wed, 14 Jul 2010 16:16:01 +0000 Subject: skip build if there are no source changes --- 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 } -- cgit v0.9.1