diff options
| -rwxr-xr-x | packaging/release-sign-tarballs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/packaging/release-sign-tarballs b/packaging/release-sign-tarballs index 632fdac60..1c895d877 100755 --- a/packaging/release-sign-tarballs +++ b/packaging/release-sign-tarballs @@ -61,8 +61,18 @@ HELP #------------------------------------------------------------------------------ check_local_changes() { - # TODO - return 1 + lines=$(bzr diff | wc -l) + if [ $lines -gt 0 ]; then + echo "" + echo "Uncommitted changes found. Did you forget to commit? Aborting." + echo "" + echo "You can clone the module in another directory" + echo "and run ./configure. No need to build if testing was finished." + echo "" + return 1 + fi + + return 0 } #------------------------------------------------------------------------------ |
