[DRE-commits] [pkg-ruby-extras] 01/01: Don't change default dput host
zeha at debian.org
zeha at debian.org
Fri Mar 4 20:49:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository pkg-ruby-extras.
commit 10947e09e13de28d04d4d33b56ea852a83fe5573
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Fri Mar 4 21:49:21 2016 +0100
Don't change default dput host
Thanks @terceiro.
---
build-and-upload | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/build-and-upload b/build-and-upload
index 64aa51b..011e3a3 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -112,7 +112,6 @@ arch=$(dpkg --print-architecture)
# target distribution/host
distribution=$(dpkg-parsechangelog -SDistribution)
-host=ftp-master
git_builder=--git-builder=sbuild\ --arch-all\ --source
case "$distribution" in
*-security)
@@ -165,7 +164,10 @@ if [ "$UPLOAD" = 'no' ]; then
fi
-ask_to_proceed "Proceed with the upload to \033[38;1;1m${host}\033[m? [y/N] "
+if [ -n "$host" ]; then
+ printf "Uploading to \033[38;1;1m${host}\033[m\n ..."
+fi
+ask_to_proceed "Proceed with the upload? [y/N] "
# cleanup
git checkout .
@@ -214,4 +216,4 @@ fi
git push --tags
# upload
-dput "$host" "$changes"
+dput $host "$changes"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pkg-ruby-extras.git
More information about the Pkg-ruby-extras-commits
mailing list