[DRE-commits] [pkg-ruby-extras] 01/02: modernize upload script

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Aug 19 21:49:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository pkg-ruby-extras.

commit 3a5ba04d798e489735ef85a0a7db13bf7da5b5b1
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Aug 19 23:49:00 2015 +0200

    modernize upload script
---
 upload | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/upload b/upload
index e3f279b..b51739e 100755
--- a/upload
+++ b/upload
@@ -68,13 +68,10 @@ fi
 gbp buildpackage --git-tag-only
 
 # push
-git push --all
-git push --tags
+git push origin : --follow-tags
 
 # sign
 debsign
 
 # upload
-source=$(dpkg-parsechangelog | awk '{ if ($1 == "Source:") print($2)}')
-version=$(dpkg-parsechangelog | awk  '{ if ($1 == "Version:") { print ($2) } }')
-(cd .. && dput ${source}_${version}_amd64.changes)
+debrelease

-- 
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