diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2016-02-25 18:44:18 +0000 |
|---|---|---|
| committer | bryce <bryce@bryceharrington.org> | 2016-02-25 18:44:18 +0000 |
| commit | 519395247f67e23857715949dc6e54b10146ea64 (patch) | |
| tree | a6c5beef3c8e45e6ebcaad362289f6f749c2bf4f | |
| parent | Fix small code buglet; found by Kris with cppcheck. (diff) | |
| download | inkscape-519395247f67e23857715949dc6e54b10146ea64.tar.gz inkscape-519395247f67e23857715949dc6e54b10146ea64.zip | |
packaging: Note if there are uncommitted changes when trying to make a release
(bzr r14667)
| -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 } #------------------------------------------------------------------------------ |
