summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2016-02-25 18:44:18 +0000
committerbryce <bryce@bryceharrington.org>2016-02-25 18:44:18 +0000
commit519395247f67e23857715949dc6e54b10146ea64 (patch)
treea6c5beef3c8e45e6ebcaad362289f6f749c2bf4f
parentFix small code buglet; found by Kris with cppcheck. (diff)
downloadinkscape-519395247f67e23857715949dc6e54b10146ea64.tar.gz
inkscape-519395247f67e23857715949dc6e54b10146ea64.zip
packaging: Note if there are uncommitted changes when trying to make a release
(bzr r14667)
-rwxr-xr-xpackaging/release-sign-tarballs14
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
}
#------------------------------------------------------------------------------