[pkg-haskell-tools] 02/03: dht upload: Fixed using the default host
Sven Bartscher
kritzefitz at moszumanska.debian.org
Mon Aug 7 23:24:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
kritzefitz pushed a commit to branch master
in repository pkg-haskell-tools.
commit 6f95e21ee8d1d853253523d3bb32afc4ffb7e933
Author: Sven Bartscher <sven.bartscher at credativ.de>
Date: Mon Aug 7 19:20:36 2017 -0400
dht upload: Fixed using the default host
dht upload would fail when the host wasn't explicitely specified
before. That is fixed in this commit.
---
debian/changelog | 4 ++--
scripts/upload | 7 ++++++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e5de6ac..131d296 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
pkg-haskell-tools (0.11.0) UNRELEASED; urgency=medium
+ [ Sean Whitton ]
* dht upload: New -h option to select the dput upload host.
* dht upload: Defaults to the dput default_host, not ssh-upload.
- * dht upload: Documentation recommends using ssh-upload host.
- -- Sean Whitton <spwhitton at spwhitton.name> Wed, 10 Aug 2016 19:39:26 -0700
+ -- Sven Bartscher <kritzefitz at debian.org> Mon, 07 Aug 2017 14:26:35 -0400
pkg-haskell-tools (0.10.5) unstable; urgency=medium
diff --git a/scripts/upload b/scripts/upload
index f86442e..aa03c08 100755
--- a/scripts/upload
+++ b/scripts/upload
@@ -109,7 +109,12 @@ do
msg="Tagging $src version $ver, targetted for $dist"
dcmd cp --reflink=auto -v "$c" "$tmpdir"
debsign --re-sign "$tmpdir"/"$(basename "$c")"
- dput "$host" "$tmpdir"/"$(basename "$c")"
+ if [ -z "$host" ]
+ then
+ dput "$tmpdir"/"$(basename "$c")"
+ else
+ dput "$host" "$tmpdir"/"$(basename "$c")"
+ fi
git -C "$dir" tag -a -m "$msg" "$tag" "$rev"
done
git push --tags
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/pkg-haskell-tools.git
More information about the Pkg-haskell-commits
mailing list