[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. 43ba9a84d5c02e76ecf752db5ccbb0f0e8a23e23

Antonio Terceiro terceiro at debian.org
Sat Jun 30 17:30:45 UTC 2012


The following commit has been merged in the master branch:
commit 43ba9a84d5c02e76ecf752db5ccbb0f0e8a23e23
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jun 30 14:30:24 2012 -0300

    Moved upload part to its own script

diff --git a/add-gemspec-install b/add-gemspec-install
index f4290c2..d9e86ab 100755
--- a/add-gemspec-install
+++ b/add-gemspec-install
@@ -22,20 +22,6 @@ fi
 
 sed -i -e '1 s/UNRELEASED/unstable/' debian/changelog
 git commit -a -m 'Build against newer gem2deb'
-git buildpackage --git-pbuilder --git-tag
 git show --color-words
-debc | grep gemspec
 
-printf "Proceed with the upload? [y/N] "
-read proceed
-if [ "$proceed" = 'y' ] || [ "$proceed" = 'Y' ]; then
-  # push
-  git push --all
-  git push --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
-fi
+$(dirname $0)/upload

-- 
pkg-ruby-extras.git



More information about the Pkg-ruby-extras-commits mailing list