[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. ea939a6793fbabc2430b6d10708a7c90b7f0204f
Per Andersson
avtobiff at gmail.com
Tue Jun 25 22:12:08 UTC 2013
The following commit has been merged in the master branch:
commit ea939a6793fbabc2430b6d10708a7c90b7f0204f
Author: Per Andersson <avtobiff at gmail.com>
Date: Wed Jun 26 00:09:14 2013 +0200
upload: Check package distribution not UNRELEASED
diff --git a/upload b/upload
index f4a06d8..64b2c0a 100755
--- a/upload
+++ b/upload
@@ -7,6 +7,12 @@ if ! [ -e debian/changelog ]; then
exit 1
fi
+if grep --quiet UNRELEASED debian/changelog; then
+ echo "Uploading files for distribution UNRELEASED to ftp-master" \
+ "is not allowed!"
+ exit 1
+fi
+
highlight() {
msg="$@"
printf "\033[01;33m${msg}\033[m\n"
--
pkg-ruby-extras.git
More information about the Pkg-ruby-extras-commits
mailing list